fix haxe_libraries handling for test project

This commit is contained in:
2023-05-25 15:55:37 -06:00
parent 5e2bed98dd
commit e3233b6e3f
4 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1 +0,0 @@
haxe_libraries/hollywoo-flixel.hxml

1
src/test/.gitignore vendored
View File

@@ -1,2 +1,3 @@
haxe_libraries/
export/
release/

4
src/test/.haxerc Normal file
View File

@@ -0,0 +1,4 @@
{
"version": "4.3.1",
"resolveLibs": "scoped"
}

View File

@@ -1,4 +1,6 @@
#! /bin/bash
lix dev hollywoo-flixel .
(cd src/test && lix run lime test neko -debug)
target=${1:-cpp}
cp -rf haxe_libraries src/test/
(cd src/test && lix dev hollywoo-flixel ../../ && lix download && lix run lime test $target -debug)