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,13 +1,13 @@
#! /bin/bash
HISS_TARGET=${HISS_TARGET:-$1}
HISS_TARGET=${HISS_TARGET:-interp}
KISS_TARGET=${KISS_TARGET:-$1}
KISS_TARGET=${KISS_TARGET:-interp}
# For CI tests, force install the dependencies
if [ ! -z "$TRAVIS_OS_NAME" ]
then
(cd src/build-scripts && haxelib install all --always)
(cd src/build-scripts/$HISS_TARGET && haxelib install all --always)
(cd src/build-scripts/$KISS_TARGET && haxelib install all --always)
fi
haxe src/build-scripts/common-args.hxml src/build-scripts/common-test-args.hxml src/build-scripts/$HISS_TARGET/test.hxml
haxe src/build-scripts/common-args.hxml src/build-scripts/common-test-args.hxml src/build-scripts/$KISS_TARGET/test.hxml