summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-01-07 22:35:55 +0800
committerruki <[email protected]>2022-01-07 22:35:55 +0800
commitb5298ce3d6ccade7f651756b4f2627bd78478c36 (patch)
tree6256ca946d6b0ed689e664fd7e5d47ea13f09218 /xmake/core/tool/builder.lua
parent2414e25c660cda85d3b0831b93460a475e482e32 (diff)
remove format from builder/tools
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index 91bb707f8..343eec0ae 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -442,13 +442,5 @@ function builder:map_flags(name, values, opt)
end
end
--- get the format of the given target kind
-function builder:format(targetkind)
- local formats = self:get("formats")
- if formats then
- return formats[targetkind]
- end
-end
-
-- return module
return builder