abstreet/release/windows.sh
2019-08-05 13:13:29 -07:00

19 lines
358 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/editor
cross build --release --target x86_64-pc-windows-gnu --bin editor
cp target/x86_64-pc-windows-gnu/release/editor.exe $OUT/editor
zip -r $OUT $OUT
rm -rf $OUT