build-test.sh always run clean first, for non-travis-ci

This commit is contained in:
Zack Middleton 2013-03-06 19:04:30 -06:00
parent 97fc98d26b
commit a0f74366a7

View file

@ -3,11 +3,10 @@
failed=0; failed=0;
# Default Build # Default Build
(make) || failed=1; (make clean release) || failed=1;
# Test additional options # Test additional options
make clean (make clean release USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1;
(make USE_CODEC_VORBIS=1 USE_FREETYPE=1 CFLAGS=-DRAVENMD4) || failed=1;
# Test mingw # Test mingw
if [ "$CC" = "clang" ]; then if [ "$CC" = "clang" ]; then
@ -16,7 +15,7 @@ if [ "$CC" = "clang" ]; then
else else
# clear CC so cross-make-mingw script will set it. # clear CC so cross-make-mingw script will set it.
export CC= export CC=
(exec ./cross-make-mingw.sh) || failed=1; (exec ./cross-make-mingw.sh clean release) || failed=1;
fi fi
if [ $failed -eq 1 ]; then if [ $failed -eq 1 ]; then