build all in docker

This commit is contained in:
Marc Wäckerlin
2015-12-04 07:05:31 +00:00
parent af88fdd4fd
commit b3ea67b7d8
12 changed files with 232 additions and 83 deletions

View File

@@ -19,13 +19,13 @@ ${ANDROID_SRC}:
( cp -r "@srcdir@/$${file}" "$${file}" && \
chmod -R u+w "$${file}" ); \
done
if [ "$$(whoami)" != "root" ]; then \
if [ "$$(whoami 2> /dev/null)" != "root" ]; then \
${CORDOVA} plugin add https://github.com/katzer/cordova-plugin-background-mode.git; \
${CORDOVA} build --debug || ${CORDOVA} build --debug; \
fi
${ANDROID}: ${ANDROID_SRC}
if [ "$$(whoami)" != "root" ]; then \
if [ "$$(whoami 2> /dev/null)" != "root" ]; then \
cp $< $@; \
fi