blob: 4edc90275afd40f342e1e1341d7ce20cd6be3f59 (
plain)
1
2
3
4
5
6
7
8
9
10
|
function main(t)
if is_host("windows", "linux", "macosx") and os.arch():startswith("x") then
os.vrun("xmake -y")
os.vrun("xmake run app")
os.vrun("xmake install -o build/usr")
if not is_host("linux") then -- TODO, change rpath has been not supported yet on linux.
os.vrun("./build/usr/app/bin/app" .. (is_host("windows") and ".exe" or ""))
end
end
end
|