Wednesday, 22 October 2014

create you own task in grunt gruntfile

grunt.registerTask('deploy:google', 'copy dist folder to google', function (deploygoogle) {

     //do the copy to google app engine


Then you can run it as grunt deploy:google

And you can also get you system env settings by process.env.peter ,   "peter" is the parameter name.

No comments:

Post a comment