test nat-archive-tool on many targets

This commit is contained in:
2021-08-01 20:16:59 -06:00
parent 9e75fd8d5b
commit 03626e974d
6 changed files with 15 additions and 5 deletions

2
cpp.hxml Normal file
View File

@@ -0,0 +1,2 @@
--cpp bin/cpp
--cmd bash test-cpp.sh

2
js.hxml Normal file
View File

@@ -0,0 +1,2 @@
--js bin/js/main.js
--cmd node bin/js/main.js

2
py.hxml Normal file
View File

@@ -0,0 +1,2 @@
--python bin/python/main.py
--cmd python bin/python/main.py

2
test-cpp.sh Normal file
View File

@@ -0,0 +1,2 @@
#! /bin/bash
./bin/cpp/test/TestMain

View File

@@ -4,5 +4,3 @@
-lib requests-externs
-cp test
--main test.TestMain
--python bin/main.py
--cmd python bin/main.py

View File

@@ -1,4 +1,8 @@
#! /bin/bash
haxelib dev nat-archive-tool .
haxe test.hxml
# 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