From c961f63e37041a39f880c4418d00feeb72b4c0e1 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 1 Jun 2022 16:51:59 +0000 Subject: [PATCH] fix CI dependency error for habit game --- projects/flixel-desktop-habit-puzzle-game/requirements.hxml | 1 + test-project.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 projects/flixel-desktop-habit-puzzle-game/requirements.hxml 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