summaryrefslogtreecommitdiff
path: root/tests/plugins/create/test.lua
blob: 7813c3ee28dfca024fc63e2194721ba0dbc2fecf (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 -vD -P $(tmpdir)/test_create/test")
    os.exec("xmake create -l c++ -P $(tmpdir)/test_create/test_cpp")
    os.exec("xmake -vD -P $(tmpdir)/test_create/test_cpp")
    os.exec("xmake create -l c++ -t static -P $(tmpdir)/test_create/test_cpp2")
    os.exec("xmake -vD -P $(tmpdir)/test_create/test_cpp2")
    os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_create/test_cpp3")
    os.exec("xmake -vD -P $(tmpdir)/test_create/test_cpp3")
end