Build script updates.
This commit is contained in:
parent
f4e4473bb6
commit
8975ef3410
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue