mirror of https://github.com/embarklabs/embark.git
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);
|
||||
});
|
||||
|
||||
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_) {
|
||||
var env = env_ || 'development';
|
||||
exec('grunt deploy:' + env);
|
||||
|
|
|
@ -2,4 +2,5 @@ module.exports = (grunt) ->
|
|||
|
||||
grunt.registerTask "deploy", ["coffee", "deploy_contracts", "concat", "copy", "server", "watch"]
|
||||
grunt.registerTask "build", ["clean", "deploy_contracts", "coffee", "concat", "uglify", "copy"]
|
||||
grunt.registerTask "release_ipfs", ["build", "ipfs"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue