build.sh aktualisiert
This commit is contained in:
parent
64403d08d3
commit
f0a330a5b5
1 changed files with 7 additions and 0 deletions
7
build.sh
7
build.sh
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
base=xonotic-data.pk3dir
|
base=xonotic-data.pk3dir
|
||||||
|
|
||||||
|
# Apply specialsauce
|
||||||
|
cp -R xonoticspecialsauce/* xonotic-data.pk3dir
|
||||||
|
|
||||||
: ${PROGS_OUT:=$PWD}
|
: ${PROGS_OUT:=$PWD}
|
||||||
export PROGS_OUT
|
export PROGS_OUT
|
||||||
stamp=$(date +"%s")
|
stamp=$(date +"%s")
|
||||||
|
@ -15,4 +18,8 @@ echo "Compiled successfully!";
|
||||||
mkdir -vp $(dirname "$0")/compiled
|
mkdir -vp $(dirname "$0")/compiled
|
||||||
mv -v *.dat $(dirname "$0")/compiled
|
mv -v *.dat $(dirname "$0")/compiled
|
||||||
rm *.lno
|
rm *.lno
|
||||||
|
if [[ -z "${DRONE_TAG}" ]]; then
|
||||||
|
zip -9 compiled-$DRONE_TAG.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
||||||
|
else
|
||||||
zip -9 compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
zip -9 compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
||||||
|
fi
|
Loading…
Reference in a new issue