Allows you to run GruntJS tasks from any build step. The task will be run separately for each specified platform and will receive following arguments:
platform(String) – The platform that the task is running for
release(Boolean) – Whether the
--releaseflag was specified when running the Cordova CLI command
verbose– To make the output more verbose
How to install?
npm install cordovahook-run-grunt --save
How to use inside hooks?
#!/usr/bin/env node require('cordovahook-run-grunt')('your_grunt_task_name');
Refer to howtouse folder to get an understanding of how to setup this hook in your project.
- 0.1.1 / 2014-12-26
- Minor tweaks.
- 0.1.0 / 2014-12-26
- First version.