Clean the build dirs before building, if the env var CLEAN is set

This commit is contained in:
Martin Storsjö committed 2020-03-25 23:24:31 +02:00
1 parent 36fc0f6432
commit 8e461131cf
7 files changed
+11

No files matched your search

+1
View File
@@ -91,6 +91,7 @@ for arch in $ARCHS; do
esac
TEST_DIR="$arch"
[ -z "$CLEAN" ] || rm -rf $TEST_DIR
mkdir -p $TEST_DIR
for test in $TESTS_C; do
$arch-w64-mingw32-clang $test.c -o $TEST_DIR/$test.exe