summaryrefslogtreecommitdiff
path: root/xmake/tools/swiftc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-19 14:33:09 +0800
committerruki <[email protected]>2016-04-19 14:33:09 +0800
commit655f4fc9f27d19bb02eb6f131412f88db42f4253 (patch)
tree6b6bf66f8ab80c8c29e28bbbb08b175cc97303ae /xmake/tools/swiftc.lua
parent223c87f37fb9e8f3ffe808fae5041a1c4aee95d0 (diff)
check ar and swiftc
Diffstat (limited to 'xmake/tools/swiftc.lua')
-rw-r--r--xmake/tools/swiftc.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/tools/swiftc.lua b/xmake/tools/swiftc.lua
index 65e6f8245..2cfc94cc0 100644
--- a/xmake/tools/swiftc.lua
+++ b/xmake/tools/swiftc.lua
@@ -110,3 +110,10 @@ function run(...)
os.run(...)
end
+-- check the given flags
+function check(flags)
+
+ -- check it
+ os.run("%s -h", _g.shellname)
+
+end