summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-25 11:06:59 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-25 11:06:59 -0500
commit4a62fe6388e75ed11f61dab23c63721fa52aa54e (patch)
tree3aa0e340e339d8cd2be3ea3fcd3e508f1fac61cb /hooks
parent16dbb6d67620fd86adc44dfd704a5f590eaf8348 (diff)
Stuff
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/after_platform_add/add_plugins2
-rwxr-xr-xhooks/after_prepare/gen_resources3
-rwxr-xr-xhooks/before_prepare/gen_sources2
3 files changed, 7 insertions, 0 deletions
diff --git a/hooks/after_platform_add/add_plugins b/hooks/after_platform_add/add_plugins
new file mode 100755
index 0000000..15c0af5
--- /dev/null
+++ b/hooks/after_platform_add/add_plugins
@@ -0,0 +1,2 @@
+#!/bin/sh
+cordova plugin add org.apache.cordova.camera
diff --git a/hooks/after_prepare/gen_resources b/hooks/after_prepare/gen_resources
new file mode 100755
index 0000000..ac86515
--- /dev/null
+++ b/hooks/after_prepare/gen_resources
@@ -0,0 +1,3 @@
+#!/bin/sh
+make clean-resources
+make resources
diff --git a/hooks/before_prepare/gen_sources b/hooks/before_prepare/gen_sources
new file mode 100755
index 0000000..b25a53f
--- /dev/null
+++ b/hooks/before_prepare/gen_sources
@@ -0,0 +1,2 @@
+#!/bin/sh
+make sources