A set of generic scripts to run Grunt tasks at build time.
In your build plan, checkout this repo into a directory named ict-grunt-builder
. Then in your task, run this:
export GRUNTCMD="grunt build"
grunt-builder/builder /app
exit $?
-
The build task should be defined in
.scripts.build
. -
Node version should be specified in
.engines.node
.
See the npm documentation for more information about Scripts and Engines.
GRUNTCMD
The Grunt command that you want to run. Default isnpm run build
.