There are several builds defined here, and a few more sketched out that don't quite work. Most of the steps call out to external shell or batch files, to make things easier to keep track of.
17 lines
266 B
Bash
Executable File
17 lines
266 B
Bash
Executable File
#!/bin/sh -v
|
|
|
|
set -o pipefail
|
|
|
|
xcodebuild ARCHS=x86_64 -project proj/xc12/BoE.xcodeproj -alltargets -configuration Release |
|
|
tee build.log |
|
|
xcpretty --color
|
|
|
|
EXIT=$?
|
|
|
|
if [ ! $EXIT ]; then
|
|
echo 'FULL BUILD LOG:'
|
|
echo
|
|
echo build.log
|
|
fi
|
|
|
|
exit $EXIT |