From 8eb5a86661ba0abba0692fb41fe2b61d7609ab34 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 26 May 2017 10:12:47 +0800 Subject: add create template project tests --- tests/plugins/create/test.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/plugins/create/test.lua (limited to 'tests/plugins/create/test.lua') 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 -- cgit v1.3.1