diff options
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/after_platform_add/add_plugins | 2 | ||||
-rwxr-xr-x | hooks/after_prepare/gen_resources | 3 | ||||
-rwxr-xr-x | hooks/before_prepare/gen_sources | 2 |
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 |