mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-02 10:25:21 +00:00
relase ipfs command
This commit is contained in:
parent
14e43ea5f7
commit
d0836e55e0
@ -33,6 +33,11 @@ program.command('build [env]').description('build dapp').action(function(env_) {
|
|||||||
exec('grunt build:' + env);
|
exec('grunt build:' + env);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
program.command('release ipfs [env]').description('build dapp and make it available in ipfs').action(function(env_) {
|
||||||
|
var env = env_ || 'development';
|
||||||
|
exec('grunt release_ipfs:' + env);
|
||||||
|
});
|
||||||
|
|
||||||
program.command('run [env]').description('run dapp').action(function(env_) {
|
program.command('run [env]').description('run dapp').action(function(env_) {
|
||||||
var env = env_ || 'development';
|
var env = env_ || 'development';
|
||||||
exec('grunt deploy:' + env);
|
exec('grunt deploy:' + env);
|
||||||
|
@ -2,4 +2,5 @@ module.exports = (grunt) ->
|
|||||||
|
|
||||||
grunt.registerTask "deploy", ["coffee", "deploy_contracts", "concat", "copy", "server", "watch"]
|
grunt.registerTask "deploy", ["coffee", "deploy_contracts", "concat", "copy", "server", "watch"]
|
||||||
grunt.registerTask "build", ["clean", "deploy_contracts", "coffee", "concat", "uglify", "copy"]
|
grunt.registerTask "build", ["clean", "deploy_contracts", "coffee", "concat", "uglify", "copy"]
|
||||||
|
grunt.registerTask "release_ipfs", ["build", "ipfs"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user