summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-17 21:57:39 +0800
committerruki <[email protected]>2020-05-17 21:57:39 +0800
commitc0afaacde90abf081bab19279c3ea6d4dbeae86d (patch)
tree002bc20bb2d3b34d19c35b0d5838341926b3e22f /xmake/toolchains/xcode/xmake.lua
parenta41ba24cf16ee3426c288f569cd41ae8cec4ab6d (diff)
add toolchain check
Diffstat (limited to 'xmake/toolchains/xcode/xmake.lua')
-rw-r--r--xmake/toolchains/xcode/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/toolchains/xcode/xmake.lua b/xmake/toolchains/xcode/xmake.lua
index 1c39a6453..d9b1d9944 100644
--- a/xmake/toolchains/xcode/xmake.lua
+++ b/xmake/toolchains/xcode/xmake.lua
@@ -37,3 +37,8 @@ toolchain("xcode")
set_toolsets("scld", "xcrun -sdk macosx swiftc", "swiftc")
set_toolsets("scsh", "xcrun -sdk macosx swiftc", "swiftc")
+ -- check toolchain
+ on_check("check")
+
+ -- load toolchain
+ on_load("load")