move project folder to repo root
This commit is contained in:
28
test.sh
28
test.sh
@@ -1,29 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
KISS_TARGET=${KISS_TARGET:-$1}
|
||||
KISS_TARGET=${KISS_TARGET:-interp}
|
||||
|
||||
# Test projects with test-project.sh
|
||||
if [ -n "$KISS_PROJECT" ]
|
||||
then
|
||||
./test-project.sh
|
||||
# Test Kiss with utest cases in kiss/src/test/cases
|
||||
else
|
||||
# If CI is running tests, basic dependencies need to be installed
|
||||
if [ -n "$CI_OS_NAME" ]
|
||||
then
|
||||
git clone https://github.com/kiss-lang/kiss
|
||||
(cd kiss && lix download)
|
||||
if [ "$KISS_TARGET" = cpp ]; then
|
||||
(cd kiss && lix install haxelib:hxcpp)
|
||||
elif [ "$KISS_TARGET" = nodejs ]; then
|
||||
(cd kiss && lix install haxelib:hxnodejs)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -z "$2" ]; then
|
||||
(cd kiss && haxe -D cases=$2 build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml)
|
||||
else
|
||||
(cd kiss && haxe build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml)
|
||||
fi
|
||||
fi
|
||||
haxe build.hxml
|
Reference in New Issue
Block a user