From a0f74366a7477d822c640931cf3a918549b2f6c8 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 6 Mar 2013 19:04:30 -0600 Subject: [PATCH] build-test.sh always run clean first, for non-travis-ci --- build-test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build-test.sh b/build-test.sh index afdedc10..9b984e72 100755 --- a/build-test.sh +++ b/build-test.sh @@ -3,11 +3,10 @@ failed=0; # Default Build -(make) || failed=1; +(make clean release) || failed=1; # Test additional options -make clean -(make USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1; +(make clean release USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1; # Test mingw if [ "$CC" = "clang" ]; then @@ -16,7 +15,7 @@ if [ "$CC" = "clang" ]; then else # clear CC so cross-make-mingw script will set it. export CC= - (exec ./cross-make-mingw.sh) || failed=1; + (exec ./cross-make-mingw.sh clean release) || failed=1; fi if [ $failed -eq 1 ]; then