diff --git a/projects/flixel-desktop-habit-puzzle-game/requirements.hxml b/projects/flixel-desktop-habit-puzzle-game/requirements.hxml new file mode 100644 index 00000000..8593b31f --- /dev/null +++ b/projects/flixel-desktop-habit-puzzle-game/requirements.hxml @@ -0,0 +1 @@ +-lib datetime \ No newline at end of file diff --git a/test-project.sh b/test-project.sh index 87eef0a9..7d648314 100755 --- a/test-project.sh +++ b/test-project.sh @@ -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 \ No newline at end of file