test nat-archive-tool on many targets
This commit is contained in:
2
projects/nat-archive-tool/cpp.hxml
Normal file
2
projects/nat-archive-tool/cpp.hxml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--cpp bin/cpp
|
||||||
|
--cmd bash test-cpp.sh
|
2
projects/nat-archive-tool/js.hxml
Normal file
2
projects/nat-archive-tool/js.hxml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--js bin/js/main.js
|
||||||
|
--cmd node bin/js/main.js
|
2
projects/nat-archive-tool/py.hxml
Normal file
2
projects/nat-archive-tool/py.hxml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--python bin/python/main.py
|
||||||
|
--cmd python bin/python/main.py
|
2
projects/nat-archive-tool/test-cpp.sh
Normal file
2
projects/nat-archive-tool/test-cpp.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
./bin/cpp/test/TestMain
|
@@ -4,5 +4,3 @@
|
|||||||
-lib requests-externs
|
-lib requests-externs
|
||||||
-cp test
|
-cp test
|
||||||
--main test.TestMain
|
--main test.TestMain
|
||||||
--python bin/main.py
|
|
||||||
--cmd python bin/main.py
|
|
@@ -1,4 +1,8 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
haxelib dev nat-archive-tool .
|
# Run these tests on every target that could be used for a NAT front-end
|
||||||
haxe test.hxml
|
# (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
|
||||||
|
Reference in New Issue
Block a user