Skip to content

Commit ecb9804

Browse files
committed
Added release build script
1 parent 2b8e26a commit ecb9804

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

release.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
cd engine
3+
make
4+
cd ../sdk
5+
make clean
6+
rm -f xci_sdk_linux_amd64.tar.gz
7+
rm -f xci_sdk_windows_mingw64.zip
8+
make clean
9+
make
10+
tar -zcvf xci_sdk_linux_amd64.tar.gz xci.exe
11+
make clean
12+
make -f Makefile.mingw
13+
zip xci_sdk_windows_mingw64.zip xci.exe
14+
cd ..
15+
rm -f xci.zip
16+
zip xci.zip engine/XCI.PRG sdk/xci_sdk_linux_amd64.tar.gz sdk/xci_sdk_windows_mingw64.zip

0 commit comments

Comments
 (0)