more stable build - cordova often crashes, so retry

This commit is contained in:
Marc Wäckerlin
2015-09-21 15:02:36 +00:00
parent 4749851f7c
commit ce729ef46c
4 changed files with 297 additions and 4 deletions

View File

@@ -20,12 +20,12 @@ ${ANDROID_SRC}:
chmod -R u+w "$${file}" ); \
done
if [ "$$(whoami)" != "root" ]; then \
cordova build --debug; \
cordova build --debug || cordova build --debug; \
fi
${ANDROID}: ${ANDROID_SRC}
if [ "$$(whoami)" != "root" ]; then \
mv $< $@; \
cp $< $@; \
fi
clean-local: