fix CI dependency error for habit game

This commit is contained in:
2022-06-01 16:51:59 +00:00
parent e839349d3e
commit c961f63e37
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
-lib datetime

View File

@@ -4,6 +4,7 @@ KISS_PROJECT=${KISS_PROJECT:-$1}
KISS_PROJECT=${KISS_PROJECT:-aoc}
./test-env.sh
(cd projects/$KISS_PROJECT && haxelib install all --always)
# If project folder contains "flixel-", test that its code compiles for HTML5 and C++
if [[ $KISS_PROJECT == *flixel-* ]]
@@ -34,6 +35,5 @@ then
fi
# Test other projects with their test.sh file
else
(cd projects/$KISS_PROJECT && haxelib install all --always)
(cd projects/$KISS_PROJECT && ./test.sh "${@:2}")
fi