A wercker step to execute commands using the grunt-cli.
You should have nodejs installed and you have to add the grunt
package to your package.json.
- Use
grunt-cli
if it is installed in./node_modules/grunt-cli
In your wercker.yml file under the build
section:
build:
steps:
- grunt:
tasks: test
- type: string
- optional: true
- description: Tasks which should be run. You can use spaces to specify multiple tasks. If no tasks have been specified, then grunt-cli will run the
default
task. - example:
tasks: jshint buster
- type: string
- optional: true
- description: Specify an alternate Gruntfile. By default, grunt looks in the source directory or it's parent directories for the nearest Gruntfile.js or Gruntfile.coffee file.
- type: boolean
- optional: true (default: false)
- description: Print a stack trace when exiting with a warning or fatal error.
- type: boolean
- optional: true (default: false)
- description: Run grunt in verbose mode
- type: boolean
- optional: true (default: false)
- description: Enable debugging mode for tasks that support it.
- added: verbose option
- Fixed a bug in which
grunt
should have been installed via npm
- Use
grunt-cli
if it is installed in./node_modules/grunt-cli
- always update npm
- Remove support for PATH, use cwd instead
- Initial release