diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-25 12:20:48 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-25 12:20:48 -0500 |
commit | 132cba71a8a6c3f57ab57f95626d644d69392b4b (patch) | |
tree | 782dca78b3ba963cbf5fc27bb3f003aa12095167 /hooks | |
parent | 4a62fe6388e75ed11f61dab23c63721fa52aa54e (diff) |
clean up build system
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/after_prepare/gen_resources | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/hooks/after_prepare/gen_resources b/hooks/after_prepare/gen_resources index ac86515..c98c905 100755 --- a/hooks/after_prepare/gen_resources +++ b/hooks/after_prepare/gen_resources @@ -1,3 +1,7 @@ -#!/bin/sh -make clean-resources -make resources +#! /usr/bin/env bash +IFS=, +platforms=($CORDOVA_PLATFORMS) + +resources=("${platforms[@]/%/-resources}") +make "${resources[@]/#/clean-}" +make "${resources[@]}" |