summaryrefslogtreecommitdiff
path: root/xmake/core/project/template.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-14 21:44:31 +0800
committerruki <[email protected]>2019-09-14 21:44:31 +0800
commit074d2607f20aa675e6835c0e31e8876d2f05da57 (patch)
tree38f795698d48e9bba30cc3091ced2782c69f0711 /xmake/core/project/template.lua
parentc08df8d304703ca1153019825ac3cc378ac92e32 (diff)
improve project template
Diffstat (limited to 'xmake/core/project/template.lua')
-rw-r--r--xmake/core/project/template.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua
index 27dc34e42..1d61e0572 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -160,11 +160,6 @@ function template.templates(language)
table.insert(templates, results:info())
end
end
-
- -- sort templates
- table.sort(templates, function(a, b) return a.description < b.description end)
-
- -- ok?
return templates
end
@@ -181,7 +176,6 @@ function template.create(language, templateid, targetname)
return false, "no template id!"
end
-
-- get interpreter
local interp = template._interpreter()
assert(interp)