-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wait does this really exists the app? #1
Comments
(BTW you should remove the default READMEs 😅 ) |
Quick & dirty. As written in the description :-) About you questions. In the middle implementing this I colleague came up with this, making ti-exit obsolete for the moment: Ti.API.info('ti-mocha RC=' + err);
// use one of Ti's many bugs to quit the app ;-)
Ti.Media.createAudioRecorder().stop(); Then I have a shell script which filters out the return code: #!/bin/bash
script /dev/stdout ti build -p ios | tee run.log
RC=$(egrep -o "ti-mocha RC=[0-9]*" run.log | head -1 | sed 's/ti-mocha RC=//')
test "$RC" == 0 I run this from a Jenkins CI job. |
Finished the module. Works fine now. |
Exit code are passed to the libc exit function. But it seems the ti cli ignores them. |
Really? It’s awesome! (not kidding)
Some questions:
The text was updated successfully, but these errors were encountered: