From 88013ea0223068210d32c62350373fb5153df2ee Mon Sep 17 00:00:00 2001 From: Thibault Blanc Beyne Date: Mon, 20 Aug 2018 17:31:15 +0200 Subject: [PATCH] Updated install.sh --- install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index d5b903f..6abaee4 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ if [ ! -d www ]; then echo Symlinking the escalator-web directory - ln -s `realpath ../escalator-web` `realpath www` + ln -s `realpath ../escalator-web/www` `realpath www` fi mkdir -p platforms @@ -14,16 +14,13 @@ fi build() { echo "Building android app" + cordova build android cd ./platforms/android/app/ gradle build } deploy() { - cd ./platforms/android/app/ - - if [ ! -d build ]; then - build - fi + build cd build/outputs/apk/debug/