Build script updates.

This commit is contained in:
Steve 2015-12-05 15:47:57 +00:00
parent f4e4473bb6
commit 8975ef3410
3 changed files with 8 additions and 3 deletions

View File

@ -6,8 +6,6 @@ REVISION=`date +"%y%m%d"`
mkdir -p ../dist mkdir -p ../dist
rm -rf ../dist/* rm -rf ../dist/*
cd build
linux/build.sh $VERSION $REVISION linux/build.sh $VERSION $REVISION
win32/build.sh $VERSION $REVISION win32/build.sh $VERSION $REVISION

View File

@ -1,5 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
cd `dirname $0`
BUILDROOT="build/linux" BUILDROOT="build/linux"
OUT="$BUILDROOT/tbftss" OUT="$BUILDROOT/tbftss"

View File

@ -1,5 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
cd `dirname $0`
BUILDROOT="build/win32" BUILDROOT="build/win32"
OUT="$BUILDROOT/tbftss" OUT="$BUILDROOT/tbftss"
@ -22,12 +24,15 @@ cp -r gfx $OUT
cp -r music $OUT cp -r music $OUT
cp -r sound $OUT cp -r sound $OUT
cp -r manual $OUT cp -r manual $OUT
cp CHANGELOG
cp LICENSE
cp README.md
cp /usr/x86_64-w64-mingw32/bin/*.dll $OUT cp /usr/x86_64-w64-mingw32/bin/*.dll $OUT
cd $BUILDROOT cd $BUILDROOT
zip -r tbftss-${VERSION}-${REVISION}.zip tbftss zip -r tbftss-${VERSION}-${REVISION}.win32.zip tbftss
mv *.zip ../../dist mv *.zip ../../dist