summaryrefslogtreecommitdiff
path: root/tests/projects/console_objc
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-20 00:42:05 +0800
committerruki <[email protected]>2017-05-20 00:42:05 +0800
commitce27b8d4dfae08a01f473e7a5cfbb94f6e79c967 (patch)
tree76cb0f63a16787f920c3dac016ad7b6f5c2d7250 /tests/projects/console_objc
parentc6876982657c8bf65b7e2a05fc1206b3aacc0ff8 (diff)
improve test script
Diffstat (limited to 'tests/projects/console_objc')
-rw-r--r--tests/projects/console_objc/test.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/console_objc/test.lua b/tests/projects/console_objc/test.lua
new file mode 100644
index 000000000..be0449702
--- /dev/null
+++ b/tests/projects/console_objc/test.lua
@@ -0,0 +1,11 @@
+-- imports
+import("..build")
+
+-- main entry
+function main()
+
+ -- build project
+ if os.host() == "macosx" then
+ build({iphoneos = true})
+ end
+end