Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"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
}
]
}
@alpipego

This comment has been minimized.

Copy link
Owner Author

alpipego commented Oct 30, 2015

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"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.