Scaffolding projects with testing
This commit is contained in:
10
test-all.sh
10
test-all.sh
@@ -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
|
Reference in New Issue
Block a user