diff options
| author | ruki <[email protected]> | 2017-02-21 23:38:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-21 23:38:30 +0800 |
| commit | 06e5d287750d029f1458f2fa2f88733238cf93eb (patch) | |
| tree | 9c9812881a6ed48bc49aad605dea40d9f43038f9 | |
| parent | c3d883feee28fd29cfdde759f7a5252049bc6d1e (diff) | |
add kind to swiftc
| -rw-r--r-- | xmake/tools/swiftc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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 = { |
