cordovahook-run-grunt
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 forrelease
(Boolean) – Whether the--release
flag was specified when running the Cordova CLI commandstack
,debug
,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');
Example, please!
Refer to howtouse folder to get an understanding of how to setup this hook in your project.
Release History
- 0.1.1 / 2014-12-26
- Minor tweaks.
- 0.1.0 / 2014-12-26
- First version.