embark-area-51/grunt-embark
Iuri Matias 9115e5984a move grunt-embark back to the main repo 2016-05-29 20:56:06 -04:00
..
tasks move grunt-embark back to the main repo 2016-05-29 20:56:06 -04:00
Gruntfile.coffee move grunt-embark back to the main repo 2016-05-29 20:56:06 -04:00
LICENSE move grunt-embark back to the main repo 2016-05-29 20:56:06 -04:00
README.md move grunt-embark back to the main repo 2016-05-29 20:56:06 -04:00

README.md

grunt-embark

grunt plugin for Embark - DApp Framework for Ethereum

Getting Started

From the same directory as your project's Gruntfile and package.json, install this plugin with the following command:

$ npm install embark-framework --save-dev
$ npm install grunt-embark --save-dev

Once that's done, add this line to your project's Gruntfile:

grunt.loadNpmTasks('grunt-embark');

Config

Inside your Gruntfile.js file, add a section named deploy, containing the fields contracts and dest.

Here's an example that deploys contracts and generates the js client file

deploy: {
  contracts: ["app/contracts/**/*.sol"],
  dest: "embark_client.js"
}