2021-12-30 08:39:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
./setup-vcpkg.sh
|
|
|
|
|
2023-11-05 00:54:29 +00:00
|
|
|
(xcodebuild -project QuakeSpasm.xcodeproj -target QuakeSpasm-Spiked-SDL2) || exit $?
|
2021-12-30 08:39:47 +00:00
|
|
|
|
|
|
|
cat <<EOF > build/Release/Quakespasm-Spiked-Revision.txt
|
|
|
|
Git URL: $(git config --get remote.origin.url)
|
|
|
|
Git Revision: $(git rev-parse HEAD)
|
|
|
|
Git Date: $(git show --no-patch --no-notes --pretty='%ai' HEAD)
|
|
|
|
Compile Date: $(date)
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# zip the files in `build/Release` to create the final archive for distribution
|
|
|
|
cd build/Release
|
|
|
|
rm Quakespasm-Spiked-macos.zip
|
|
|
|
zip --symlinks --recurse-paths Quakespasm-Spiked-macos.zip *
|