Created
October 29, 2015 07:58
-
-
Save alpipego/844e7454fc9537cbadd9 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
{ | |
"folders": | |
[ | |
{ | |
"path": "." | |
} | |
], | |
"build_systems": | |
[ | |
{ | |
"name": "Android", | |
"cmd": ["tns run android"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 4s (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-4s"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 5 (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-5"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 6 (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-6"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 6 Plus (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-6-Plus"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 6s (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-6s"], | |
"shell": true | |
}, | |
{ | |
"name": "iPhone 6s Plus (emulator)", | |
"cmd": ["tns run ios --emulator --device iPhone-6s-Plus"], | |
"shell": true | |
}, | |
{ | |
"name": "iPad 2 (emulator)", | |
"cmd": ["tns run ios --emulator --device iPad-2"], | |
"shell": true | |
}, | |
{ | |
"name": "iPad Retina (emulator)", | |
"cmd": ["tns run ios --emulator --device iPad-Retina"], | |
"shell": true | |
}, | |
{ | |
"name": "iPad Air (emulator)", | |
"cmd": ["tns run ios --emulator --device iPad-Air"], | |
"shell": true | |
}, | |
{ | |
"name": "iPad Air 2 (emulator)", | |
"cmd": ["tns run ios --emulator --device iPad-Air-2"], | |
"shell": true | |
}, | |
{ | |
"name": "iPad Pro (emulator)", | |
"cmd": ["tns run ios --emulator --device iPad-Pro"], | |
"shell": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If running into trouble with a
ANDROID_HOME not defined
simply add the variable in the script as well:"cmd": ["export ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1 && tns run android"]