Skip to content

Commit

Permalink
Resolve shellcheck warnings benchmark.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Dec 12, 2023
1 parent a160b81 commit 0ba9625
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -euo pipefail

# Mac Perofrmance Benchmark
#
#
# On my fastest Mac it takes 0:26:42 min

osascript -e 'tell app "Xcode" to quit'
rm -rf ${HOME}/Library/Developer/Xcode/DerivedData
rm -rf "${HOME}/Library/Developer/Xcode/DerivedData"
tmp_dir=$(mktemp -d)
cd $tmp_dir
git clone [email protected]:Blackjacx/Columbus.git $tmp_dir/Columbus/
time xcodebuild -showBuildTimingSummary -destination "platform=iOS Simulator,name=iPhone 7" -workspace "$tmp_dir/Columbus/Columbus.xcworkspace" -scheme "Columbus-iOS" build > /dev/null
cd "$tmp_dir"
git clone [email protected]:Blackjacx/Columbus.git "$tmp_dir/Columbus/"
time xcodebuild -showBuildTimingSummary -destination "platform=iOS Simulator,name=iPhone 7" -workspace "$tmp_dir/Columbus/Columbus.xcworkspace" -scheme "Columbus-iOS" build > /dev/null

0 comments on commit 0ba9625

Please sign in to comment.