summaryrefslogtreecommitdiff
path: root/xmake/core/project/template.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-26 20:51:35 +0800
committerruki <[email protected]>2016-03-26 20:51:35 +0800
commitf599ffc2ca8f452b70e2fb928816c5b78302ee1b (patch)
tree59cf1fa8ad1cc2a9013641fac59e42d52cabb64e /xmake/core/project/template.lua
parent2d269f2eb8a61c7b4225a766ceedec4fd1858e95 (diff)
modify self interfaces
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 688be7624..30ee76952 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -43,7 +43,7 @@ function template._interpreter()
end
-- init interpreter
- local interp = interpreter.init()
+ local interp = interpreter.new()
assert(interp)
-- register api: set_description() and set_projectdir()