Skip to content

Commit

Permalink
revert change in bluepill.sh
Browse files Browse the repository at this point in the history
Signed-off-by: larrytaowang <tao.larry.wang@gmail.com>
  • Loading branch information
larrytaowang committed Mar 26, 2024
1 parent 98957f8 commit de56baa
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions scripts/bluepill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ bluepill_build()
echo Release in "build/$DST.zip"
}

# bluepill_build_sample_app()
# {
# set -o pipefail
# xcodebuild build-for-testing \
# -workspace Bluepill.xcworkspace \
# -arch x86_64 \
# -scheme BPSampleApp \
# -sdk iphonesimulator \
# -derivedDataPath "$DerivedDataPath" 2>&1 | tee result.txt | $XCPRETTY

# test $? == 0 || {
# echo Build failed
# cat result.txt
# exit 1
# }
# set +o pipefail
# }
bluepill_build_sample_app()
{
set -o pipefail
xcodebuild build-for-testing \
-workspace Bluepill.xcworkspace \
-arch x86_64 \
-scheme BPSampleApp \
-sdk iphonesimulator \
-derivedDataPath "$DerivedDataPath" 2>&1 | tee result.txt | $XCPRETTY

test $? == 0 || {
echo Build failed
cat result.txt
exit 1
}
set +o pipefail
}

# $1 scheme, $2 extra args for xcodebuild
run_tests() {
Expand Down

0 comments on commit de56baa

Please sign in to comment.