compile.sh: exit if waf has failed
This commit is contained in:
parent
37c84ad909
commit
c7b1f28590
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ android/gen-config.sh android/
|
|||
android/gen-version.sh android/
|
||||
|
||||
# configure android project
|
||||
./waf configure -T $BUILD_TYPE
|
||||
./waf configure -T $BUILD_TYPE || exit 1
|
||||
|
||||
build_native_project()
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ done
|
|||
find $ROOT/build/android/lib -name "*.a" -delete
|
||||
|
||||
# Run waf
|
||||
./waf build
|
||||
./waf build || exit 1
|
||||
|
||||
# sign
|
||||
cp build/android/xashdroid-src.apk xashdroid.apk
|
||||
|
|
Loading…
Add table
Reference in a new issue