diff options
| author | ruki <[email protected]> | 2016-02-26 22:36:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-26 22:36:49 +0800 |
| commit | 4e56f11cf31ad1279505ee5ed7e29945c20f0639 (patch) | |
| tree | f47e21c69a5d7b82e9d6105f28a2086542ad5d70 /xmake/core/base/template.lua | |
| parent | 5520585557e76e13368325c50ffb0ca344f2c714 (diff) | |
add ifelse builtin interface for sandbox
Diffstat (limited to 'xmake/core/base/template.lua')
| -rw-r--r-- | xmake/core/base/template.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/template.lua b/xmake/core/base/template.lua index 08b997a87..76f5398c5 100644 --- a/xmake/core/base/template.lua +++ b/xmake/core/base/template.lua @@ -111,7 +111,7 @@ function template.languages() end -- load all templates from the given language -function template.loadall(language) +function template.templates(language) -- check assert(language) @@ -194,7 +194,7 @@ function template.create(language, templateid, targetname) end)) -- load all templates for the given language - local templates = template.loadall(language) + local templates = template.templates(language) -- load the template module local module = nil |
