mirror of https://github.com/tidwall/tile38.git
added .exe to windows binaries
This commit is contained in:
parent
988e6e5fcc
commit
0d0ebf8c7f
9
build.sh
9
build.sh
|
@ -75,8 +75,13 @@ package(){
|
||||||
bdir=tile38-${VERSION}-$2-$3
|
bdir=tile38-${VERSION}-$2-$3
|
||||||
rm -rf packages/$bdir && mkdir -p packages/$bdir
|
rm -rf packages/$bdir && mkdir -p packages/$bdir
|
||||||
GOOS=$2 GOARCH=$3 ./build.sh
|
GOOS=$2 GOARCH=$3 ./build.sh
|
||||||
mv tile38-server packages/$bdir
|
if [ "$2" == "windows" ]; then
|
||||||
mv tile38-cli packages/$bdir
|
mv tile38-server packages/$bdir/tile38-server.exe
|
||||||
|
mv tile38-cli packages/$bdir/tile38-cli.exe
|
||||||
|
else
|
||||||
|
mv tile38-server packages/$bdir
|
||||||
|
mv tile38-cli packages/$bdir
|
||||||
|
fi
|
||||||
cp README.md packages/$bdir
|
cp README.md packages/$bdir
|
||||||
cd packages
|
cd packages
|
||||||
if [ "$2" == "linux" ]; then
|
if [ "$2" == "linux" ]; then
|
||||||
|
|
Loading…
Reference in New Issue