summaryrefslogtreecommitdiff
path: root/xmake/core/project/template.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-11 14:08:47 +0800
committerruki <[email protected]>2016-04-11 14:08:47 +0800
commit833bfb207b3f924eaa81feb496cf74e6223d0041 (patch)
tree0b1774ba14cbe63ecb6eb347deea19975f2c8554 /xmake/core/project/template.lua
parent71296f55db2d5b0a9249592c3428797708cd0683 (diff)
add new tool module
Diffstat (limited to 'xmake/core/project/template.lua')
-rw-r--r--xmake/core/project/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua
index 30ee76952..4ed035fd9 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -171,7 +171,7 @@ function template.create(language, templateid, targetname)
assert(interp)
-- set filter
- interp:filter_set(filter.init(function (variable)
+ interp:filter_set(filter.new(function (variable)
-- init maps
local maps =