cordovahook-run-grunt

0.1.1 • Public • Published

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 for
  • release (Boolean) – Whether the --release flag was specified when running the Cordova CLI command
  • stack, 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.

Package Sidebar

Install

npm i cordovahook-run-grunt

Weekly Downloads

2

Version

0.1.1

License

none

Last publish

Collaborators

  • mihhail-lapushkin