summaryrefslogtreecommitdiff
path: root/tests/plugins/create/test.lua
blob: 397f846f46024b224e702e02f674e2ec1017caf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
function main ()
    os.tryrm("$(tmpdir)/test_create")
    os.exec("xmake create -P $(tmpdir)/test_create/test")
    os.exec("xmake -P $(tmpdir)/test_create/test")
    os.exec("xmake create -l c++ -P $(tmpdir)/test_create/test_cpp")
    os.exec("xmake -P $(tmpdir)/test_create/test_cpp")
    os.exec("xmake create -l c++ -t static -P $(tmpdir)/test_create/test_cpp2")
    os.exec("xmake -P $(tmpdir)/test_create/test_cpp2")
    os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_create/test_cpp3")
    os.exec("xmake -P $(tmpdir)/test_create/test_cpp3")
end