Update CI.

This commit is contained in:
Matyáš Kříž 2023-03-17 16:17:37 +01:00
parent 41a70422fb
commit 7d51beb752
2 changed files with 6 additions and 4 deletions

View File

@ -98,11 +98,11 @@ platform :mac do
end
after_all do
reset_git_repo
reset_git_repo(disregard_gitignore: false)
end
error do |_, exception|
reset_git_repo
reset_git_repo(disregard_gitignore: false)
UI.error "Release failed. This might help: #{exception}"
end
end

View File

@ -2,8 +2,10 @@
set -e
rm -rf "Generator/bin/cuckoo_generator"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
rm -rf "$SCRIPT_DIR/Generator/bin/cuckoo_generator"
env -i PATH="$PATH" HOME="$HOME" xcodebuild build \
-project Generator/Generator.xcodeproj \
-project "$SCRIPT_DIR/Generator/Generator.xcodeproj" \
-scheme Generator \
-configuration Release