summaryrefslogtreecommitdiff
path: root/xmake/core/project/template.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-01-21 17:02:13 +0800
committerruki <[email protected]>2017-01-21 17:02:13 +0800
commit50bc191501037fee117bee79191d21d326a0ed82 (patch)
treec8f5dd93a4e2de8d369bafdb770f5148fd05f8d1 /xmake/core/project/template.lua
parentb028a68c3f65f827ae2b7ff0ad644a86bb4597fa (diff)
add set_table api for interpreter
Diffstat (limited to 'xmake/core/project/template.lua')
-rw-r--r--xmake/core/project/template.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua
index cdcefd414..3a068a6c8 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -60,6 +60,11 @@ function template._interpreter()
-- add_xxx
, "add_macrofiles"
}
+ , script =
+ {
+ -- on_xxx
+ "on_create"
+ }
, dictionary =
{
-- set_xxx
@@ -67,11 +72,6 @@ function template._interpreter()
-- add_xxx
, "add_macros"
}
- , script =
- {
- -- on_xxx
- "on_create"
- }
}
-- save interpreter