From 549b4f28263886a830b1c4687bbaaf1c664d75c7 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 6 Oct 2022 00:27:30 +0000 Subject: [PATCH] fix kiss-express test dependency installation --- projects/nat-globelet-playground/build.hxml | 1 + projects/nat-globelet-playground/test.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/nat-globelet-playground/build.hxml b/projects/nat-globelet-playground/build.hxml index c80283b2..090495bf 100644 --- a/projects/nat-globelet-playground/build.hxml +++ b/projects/nat-globelet-playground/build.hxml @@ -1,6 +1,7 @@ -lib kiss -lib express -lib kiss-express +-lib hxnodejs -cp src --main nat_globelet_playground.Main --js index.js diff --git a/projects/nat-globelet-playground/test.sh b/projects/nat-globelet-playground/test.sh index a2da7895..71247013 100755 --- a/projects/nat-globelet-playground/test.sh +++ b/projects/nat-globelet-playground/test.sh @@ -6,7 +6,7 @@ fi # npm install creates a .haxelib folder which needs to be pointed to the dependencies if [ ! -d .haxelib/kiss ]; then cp .haxelib/express/.current .haxelib/express/.current.tmp - haxelib install all --always + (cp ../../kiss/build-scripts/common-args.hxml ./ && haxelib install all --always && rm common-args.hxml) # install all introduces an out-of-date express haxelib mv .haxelib/express/.current.tmp .haxelib/express/.current