Created
February 3, 2016 09:44
-
-
Save hdeshev/6b87da27ae724a1cd11a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
NS_DIR=$(pwd) | |
APP_DIR=$1 | |
grunt default --test-app-only=true --runtslint=false | |
rsync -XPav bin/dist/apps/tests/ $1/app/ | |
#rsync -XPav bin/dist/modules/apps/tests/ $1/app/ | |
rm -rf $1/node_modules/tns-core-modules | |
(cd $1 && npm install "$NS_DIR"/bin/dist/modules/tns-core-modules*.tgz) | |
cd $1 &&\ | |
#tns emulate android --avd nexus4-x64 | |
tns run android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
NS_DIR=$(pwd) | |
APP_DIR=$1 | |
grunt default --test-app-only=true --runtslint=false | |
rsync -av bin/dist/apps/tests/ $1/app/ | |
rm -rf $1/node_modules/tns-core-modules | |
(cd $1 && npm install "$NS_DIR"/bin/dist/modules/tns-core-modules*.tgz) | |
cd $1 &&\ | |
#tns emulate android --avd nexus4-x64 | |
tns run ios --emulator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment