embark/tasks/blockchain.coffee

10 lines
291 B
CoffeeScript
Raw Normal View History

2015-05-24 12:47:06 +00:00
module.exports = (grunt) ->
grunt.registerTask "blockchain", "deploy ethereum node", (env_) =>
env = env_ || "development"
Embark = require('embark-framework')
2015-07-04 02:27:17 +00:00
Embark.init()
Embark.blockchainConfig.loadConfigFile('config/blockchain.yml')
Embark.startBlockchain(env)
2015-05-24 12:47:06 +00:00