Updated install.sh

This commit is contained in:
Thibault Blanc Beyne 2018-08-20 17:31:15 +02:00
parent ec4b4a393a
commit 88013ea022
1 changed files with 3 additions and 6 deletions

View File

@ -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/