summaryrefslogtreecommitdiff
path: root/tests/plugins/create
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-26 10:12:47 +0800
committerruki <[email protected]>2017-05-26 10:12:54 +0800
commit8eb5a86661ba0abba0692fb41fe2b61d7609ab34 (patch)
tree989f4f4f60c2cbf7c3c8db656dd60f303468e84d /tests/plugins/create
parent7d0b8226faf9a4dfc67ded97c4d46e774c2d3ad2 (diff)
add create template project tests
Diffstat (limited to 'tests/plugins/create')
-rw-r--r--tests/plugins/create/test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/plugins/create/test.lua b/tests/plugins/create/test.lua
new file mode 100644
index 000000000..b7e68db81
--- /dev/null
+++ b/tests/plugins/create/test.lua
@@ -0,0 +1,8 @@
+function main ()
+ os.exec("xmake create -P $(tmpdir)/test")
+ os.exec("xmake -P $(tmpdir)/test")
+ os.exec("xmake create -l c++ -P $(tmpdir)/test_cpp")
+ os.exec("xmake -P $(tmpdir)/test_cpp")
+ os.exec("xmake create -l c++ -t 3 -P $(tmpdir)/test_cpp2")
+ os.exec("xmake -P $(tmpdir)/test_cpp2")
+end