diff options
| author | ruki <[email protected]> | 2017-02-15 20:45:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-15 20:45:27 +0800 |
| commit | b98e6978cd6514169c7f0fea4ab6ba63a093754c (patch) | |
| tree | 087de92610444ebe2eb2153219974c563924a192 /xmake/core/tool/builder.lua | |
| parent | dfce526796ade25d4da69c2542929e9c4662402a (diff) | |
modify targetfile
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index 19d462551..f8edcd12d 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -225,13 +225,13 @@ function builder:get(name) return self:_tool().get(name) end --- get the format of the given file kind -function builder:format(kind) +-- get the format of the given target kind +function builder:format(targetkind) -- get formats local formats = self:get("formats") if formats then - return formats[kind] + return formats[targetkind] end end |
