Testing for Build Success?
Testing for Build Success?
- Subject: Testing for Build Success?
- From: Riehm Stephen <email@hidden>
- Date: Tue, 24 Jun 2008 16:58:39 +0200
Hi,
is it possible for a script build-phase to determine if the previous
build steps were successful?
Essentially I want my build process to look something like this:
1: build / link app
2: if there were errors - bail out
3: commit all open changes into the SCM system
4: run regression tests
5: increment build number if regression tests passed
The only problem I have is that all of the build phases run even if
previous phases failed.
I thought of checking the timestamp of the target executable, but
which environment variables would be the right ones to use?
Or is there an environment variable for the error log?
There's also the "only run script when installing" checkbox in the
script-build-phase panel, but I haven't been able to work out what
that actually means (ie: debug and release targets and build-styles
are predefined, but no mention of "install")
Thanks,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden