diff --git a/cpp.hxml b/cpp.hxml new file mode 100644 index 0000000..682008c --- /dev/null +++ b/cpp.hxml @@ -0,0 +1,2 @@ +--cpp bin/cpp +--cmd bash test-cpp.sh \ No newline at end of file diff --git a/js.hxml b/js.hxml new file mode 100644 index 0000000..226f38d --- /dev/null +++ b/js.hxml @@ -0,0 +1,2 @@ +--js bin/js/main.js +--cmd node bin/js/main.js \ No newline at end of file diff --git a/py.hxml b/py.hxml new file mode 100644 index 0000000..de2e0ff --- /dev/null +++ b/py.hxml @@ -0,0 +1,2 @@ +--python bin/python/main.py +--cmd python bin/python/main.py \ No newline at end of file diff --git a/test-cpp.sh b/test-cpp.sh new file mode 100644 index 0000000..de641c4 --- /dev/null +++ b/test-cpp.sh @@ -0,0 +1,2 @@ +#! /bin/bash +./bin/cpp/test/TestMain \ No newline at end of file diff --git a/test.hxml b/test.hxml index c464946..53b5bc4 100644 --- a/test.hxml +++ b/test.hxml @@ -3,6 +3,4 @@ -lib nat-archive-tool -lib requests-externs -cp test ---main test.TestMain ---python bin/main.py ---cmd python bin/main.py \ No newline at end of file +--main test.TestMain \ No newline at end of file diff --git a/test.sh b/test.sh index 627c3a5..e81b3d2 100755 --- a/test.sh +++ b/test.sh @@ -1,4 +1,8 @@ #! /bin/bash -haxelib dev nat-archive-tool . -haxe test.hxml \ No newline at end of file +# Run these tests on every target that could be used for a NAT front-end +# (also to test (#extern) on multiple targets) +haxe test.hxml py.hxml && +haxe test.hxml js.hxml && +haxe test.hxml cpp.hxml && +haxe test.hxml --interp