mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 20:29:04 +03:00
19 lines
350 B
Bash
Executable File
19 lines
350 B
Bash
Executable File
#!/bin/bash
|
|
# Call from project root directory: ./release/windows.sh
|
|
|
|
set -e
|
|
|
|
OUT=abstreet_windows
|
|
|
|
source release/common.sh
|
|
common_release $OUT
|
|
|
|
cp release/play_abstreet.bat $OUT
|
|
|
|
mkdir $OUT/game
|
|
cross build --release --target x86_64-pc-windows-gnu --bin game
|
|
cp target/x86_64-pc-windows-gnu/release/game.exe $OUT/game
|
|
|
|
zip -r $OUT $OUT
|
|
rm -rf $OUT
|