diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d85ecc8..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -haxe_libraries/hollywoo-flixel.hxml \ No newline at end of file diff --git a/src/test/.gitignore b/src/test/.gitignore index e186aeb..379bc70 100644 --- a/src/test/.gitignore +++ b/src/test/.gitignore @@ -1,2 +1,3 @@ +haxe_libraries/ export/ release/ \ No newline at end of file diff --git a/src/test/.haxerc b/src/test/.haxerc new file mode 100644 index 0000000..dc3cec2 --- /dev/null +++ b/src/test/.haxerc @@ -0,0 +1,4 @@ +{ + "version": "4.3.1", + "resolveLibs": "scoped" +} \ No newline at end of file diff --git a/test.sh b/test.sh index 645529f..714d43d 100755 --- a/test.sh +++ b/test.sh @@ -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) \ No newline at end of file