From 06e5d287750d029f1458f2fa2f88733238cf93eb Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 21 Feb 2017 23:38:30 +0800 Subject: add kind to swiftc --- xmake/tools/swiftc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmake/tools/swiftc.lua b/xmake/tools/swiftc.lua index 04e32f922..74f7e8974 100644 --- a/xmake/tools/swiftc.lua +++ b/xmake/tools/swiftc.lua @@ -27,11 +27,14 @@ import("core.tool.tool") import("core.project.config") -- init it -function init(shellname) +function init(shellname, kind) -- save the shell name _g.shellname = shellname or "swiftc" + -- init kind + _g.kind = kind + -- init flags map _g.mapflags = { -- cgit v1.3.1