sudo for macOS to cp xmake
@@ -26,7 +26,7 @@ script:
- echo 'require("luacov")' > tmp
- cat xmake/core/_xmake_main.lua >> tmp
- mv tmp xmake/core/_xmake_main.lua
- - cp core/build/xmake $(which xmake)
+ - cp core/build/xmake $(which xmake) || sudo cp core/build/xmake $(which xmake)
- tests/tests
after_success:
