1 2 3 4 5 6 7 8 9 10
-- main entry function main(t) -- build project if is_host("macosx") and os.arch() ~= "arm64" then t:build() else return t:skip("wrong host platform") end end