summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/test.lua
blob: cd8e6f75e92cbaad6400e281e5332c213ea588ce (plain)
1
2
3
4
5
6
7
8
9
10
function main(t)
    if (os.subarch():startswith("x") or os.subarch() == "i386") and not is_host("bsd", "solaris", "haiku") then
        os.cd("libfoo")
        os.exec("xmake package -D -o ../bar/build")
        os.cd("../bar")
        os.exec("xmake f -c -D")
        os.exec("xmake -D")
        os.exec("xmake run")
    end
end