Fix gen-config & gen-version scripts
This commit is contained in:
parent
abf3e99896
commit
54166f6be4
3 changed files with 10 additions and 3 deletions
4
build.sh
4
build.sh
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ndk-build NDK_TOOLCHAIN_VERSION=4.8 NDK_DEBUG=0 V=0 XASH_SDL=0 -j 8 APP_CFLAGS="-w -Wl,--no-undefined" APP_LDFLAGS="-Wl,--no-undefined"
|
ndk-build NDK_TOOLCHAIN_VERSION=4.8 NDK_DEBUG=0 V=0 XASH_SDL=0 -j 8 APP_CFLAGS="-w -Wl,--no-undefined" APP_LDFLAGS="-Wl,--no-undefined"
|
||||||
sh gen-config.sh release sign
|
./gen-config.sh release sign
|
||||||
sh gen-version.sh default-release
|
./gen-version.sh default-release
|
||||||
rm assets/extras.pak 2>/dev/null
|
rm assets/extras.pak 2>/dev/null
|
||||||
python2 makepak.py xash-extras assets/extras.pak
|
python2 makepak.py xash-extras assets/extras.pak
|
||||||
ant release
|
ant release
|
||||||
|
|
|
@ -1,13 +1,18 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
git update-index --assume-unchanged src/in/celest/xash3d/XashConfig.java
|
git update-index --assume-unchanged src/in/celest/xash3d/XashConfig.java
|
||||||
PKG_TEST=false
|
PKG_TEST=false
|
||||||
if [[ $* =~ "test" ]] ; then export PKG_TEST=true; fi
|
if [[ $* =~ "test" ]] ; then export PKG_TEST=true; fi
|
||||||
|
|
||||||
CHECK_SIGNATURES=false
|
CHECK_SIGNATURES=false
|
||||||
if [[ $* =~ "sign" ]] ; then export CHECK_SIGNATURES=true; fi
|
if [[ $* =~ "sign" ]] ; then export CHECK_SIGNATURES=true; fi
|
||||||
|
|
||||||
RELEASE=false
|
RELEASE=false
|
||||||
if [[ $* =~ "release" ]] ; then export RELEASE=true; fi
|
if [[ $* =~ "release" ]] ; then export RELEASE=true; fi
|
||||||
|
|
||||||
GP_VERSION=false
|
GP_VERSION=false
|
||||||
if [[ $* =~ "gp" ]] ; then export GP_VERSION=true; fi
|
if [[ $* =~ "gp" ]] ; then export GP_VERSION=true; fi
|
||||||
|
|
||||||
_V="public static final boolean"
|
_V="public static final boolean"
|
||||||
echo package in.celest.xash3d\; >src/in/celest/xash3d/XashConfig.java
|
echo package in.celest.xash3d\; >src/in/celest/xash3d/XashConfig.java
|
||||||
echo public class XashConfig { >>src/in/celest/xash3d/XashConfig.java
|
echo public class XashConfig { >>src/in/celest/xash3d/XashConfig.java
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
git update-index --assume-unchanged res/values/git-rev.xml
|
git update-index --assume-unchanged res/values/git-rev.xml
|
||||||
echo '<?xml version="1.0" encoding="utf-8"?>' > res/values/git-rev.xml
|
echo '<?xml version="1.0" encoding="utf-8"?>' > res/values/git-rev.xml
|
||||||
echo '<resources>' >> res/values/git-rev.xml
|
echo '<resources>' >> res/values/git-rev.xml
|
||||||
|
|
Loading…
Add table
Reference in a new issue