improved dependencies for more ubuntu support

This commit is contained in:
Marc Wäckerlin
2015-12-01 14:50:12 +00:00
parent ee04ed4419
commit fa87f92792
3 changed files with 28 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
repos+=" ppa:cordova-ubuntu/ppa"
packages+=" npm"
commands+=("npm install -g node" "npm install -g cordova")
if test -n "${ANDROID_HOME}"; then
envs+=" -e ANDROID_HOME=${ANDROID_HOME}"
dirs+=" -v ${ANDROID_HOME}:${ANDROID_HOME}:ro"