cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [1/2] git commit: Example hook from @dpogue, thanks buddy. Fixes #70.
Date Tue, 20 Nov 2012 20:16:30 GMT
Updated Branches:
  refs/heads/cordova-client 2064e8066 -> c0aa6d985

Example hook from @dpogue, thanks buddy. Fixes #70.


Branch: refs/heads/cordova-client
Commit: c0aa6d985d68b575775b7c9f7c0b7d5e48f3cade
Parents: 4b1e43a
Author: Fil Maj <>
Authored: Tue Nov 20 12:16:16 2012 -0800
Committer: Fil Maj <>
Committed: Tue Nov 20 12:16:16 2012 -0800

---------------------------------------------------------------------- |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ b/
index b36f46d..6ea3015 100644
--- a/
+++ b/
@@ -89,6 +89,10 @@ Projects created by cordova-client have `before` and `after` hooks for
each [pro
 These are located under the `.cordova/hooks` directory in the root of your cordova project.
Any scripts you add to these directories will be executed before and after the appropriate
commands. Useful for integrating your own build systems or integrating with version control
systems. __Remember__: make your scripts executable.
+### Examples
+- [`before_build` hook for jade template compiling]( courtesy
of [dpogue](
 ## Module-level Hooks
 If you are using cordova-client as a module within a larger node application, you can also
use the standard `EventEmitter` methods to attach to the events. The events include `before_build`,
`before_docs`, `before_emulate`, `before_platform_add`, `before_platform_ls`, `before_platform_rm`,
`before_plugin_add`, `before_plugin_ls` and `before_plugin_rm`. Additionally, there are `after_`
flavours of all the above events.

View raw message