Skip to content

Commit b472915

Browse files
committed
Merge branch 'master' of github.com:bamboo/unityscript
2 parents a4f795e + bc7aefc commit b472915

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/UnityScript.Tests/UsTestFixture.boo

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ class UsTestFixture:
1717
ResolvePath("warnings-1.js"), )
1818
AssertSuccessfulCompilation(argv)
1919

20+
[Test]
21+
def ExeTarget():
22+
argv = (
23+
"-r:${GetAssemblyLocation()}",
24+
"-b:UnityScript.Tests.MonoBehaviour",
25+
"-m:Awake",
26+
"-target:exe",
27+
ResolvePath("target-exe.js"), )
28+
AssertSuccessfulCompilation(argv)
29+
2030
[Test]
2131
def Pragmas():
2232
argv = (

tests/us/target-exe.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
static function Main() {
2+
print("Hello");
3+
}

0 commit comments

Comments
 (0)