Skip to content

Commit

Permalink
Update test build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mittorn committed Aug 12, 2016
1 parent 27c1257 commit 8d26578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ sh gen-version.sh test build
rm assets/extras.pak
python2.7 makepak.py xash-extras assets/extras.pak
$AAPT package -m -J gen/ --rename-manifest-package in.celest.xash3d.hl -M AndroidManifest.xml -S test/res -I $ANDROID_JAR
$JAVAC -d bin/classes -s bin/classes -cp $ANDROID_JAR gen/in/celest/xash3d/hl/R.java src/in/celest/xash3d/*.java
echo "package in.celest.xash3d.hl;public final class BuildConfig {public final static boolean DEBUG = true;}" > gen/in/celest/xash3d/hl/BuildConfig.java
$JAVAC -d bin/classes -s bin/classes -cp $ANDROID_JAR gen/in/celest/xash3d/hl/* src/in/celest/xash3d/*.java
$DX --dex --output=bin/classes.dex bin/classes/
$AAPT package -f -M test/AndroidManifest.xml -S test/res -I $ANDROID_JAR -F bin/xash3d.apk.unaligned
zip bin/xash3d.apk.unaligned assets/*
Expand Down

0 comments on commit 8d26578

Please sign in to comment.