Scaffolding projects with testing

This commit is contained in:
2020-11-17 14:32:01 -07:00
parent e208cee794
commit 0bbe1316b1
8 changed files with 67 additions and 13 deletions

View File

@@ -1,7 +1,9 @@
#! /bin/bash
# For local testing. Dependencies won't be installed
# For local testing. Runs manual project tests, which cannot run headless.
# Dependencies won't be installed first
# Test the Kiss compiler on every target language:
TEST_FILES=src/build-scripts/**/test.hxml
for TEST_FILE in $TEST_FILES
@@ -10,6 +12,8 @@ do
haxe src/build-scripts/common-args.hxml src/build-scripts/common-test-args.hxml $TEST_FILE
if [ ! $? -eq 0 ]
then
exit $?
exit 1
fi
done
done
./test-projects.sh