cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
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.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/commit/c0aa6d98
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/tree/c0aa6d98
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/diff/c0aa6d98

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

----------------------------------------------------------------------
 README.md |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/c0aa6d98/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index b36f46d..6ea3015 100644
--- a/README.md
+++ b/README.md
@@ -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](https://gist.github.com/4100866) courtesy
of [dpogue](http://github.com/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.


Mime
View raw message