Created
March 28, 2017 21:39
-
-
Save sunpazed/e4aa9ee2de8af8708a4a00a2624cbd8d to your computer and use it in GitHub Desktop.
ConnectIQ build
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/bash | |
APP_NAME="<appname>" | |
KEYS="<path_to_keys>/key/" | |
P_INFO="<path_to_sdk>/connectiq-sdk-mac-2.2.4/bin/projectInfo.xml" | |
# kill the simulator if it's running | |
pkill simulator | |
# build via monkeyc | |
monkeyc -y $KEYS/developer_key.der -o $APP_NAME.prg -m manifest.xml -z resources/resources.xml -z resources/settings/* -z resources/strings/strings.xml source/* -w -p $P_INFO -g -d $@ | |
# launch the simulator, and wait | |
connectiq | |
sleep 3 | |
# run the app, as the corresponding device type | |
monkeydo $APP_NAME.prg $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment