summaryrefslogtreecommitdiff
path: root/xmake/actions/create/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-04 10:31:12 +0800
committerruki <[email protected]>2016-03-04 10:31:12 +0800
commitae466964bd7404958782890a267e98bd104a43bd (patch)
treee9d779b1c8847072674552a90ffb3bf44fdcae7b /xmake/actions/create/xmake.lua
parentf4b82ec9289932937c21e00b0ff35bb4f3544e3b (diff)
restore platform and project menu
Diffstat (limited to 'xmake/actions/create/xmake.lua')
-rwxr-xr-xxmake/actions/create/xmake.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/actions/create/xmake.lua b/xmake/actions/create/xmake.lua
index 40880c99a..b0c2bfddb 100755
--- a/xmake/actions/create/xmake.lua
+++ b/xmake/actions/create/xmake.lua
@@ -38,13 +38,13 @@ task("create")
, options =
{
{'n', "name", "kv", nil, "The project name." }
---[[ , {'l', "language", "kv", "c", "The project language"
+ , {'l', "language", "kv", "c", "The project language"
-- show the description of all languages
, function ()
-- import template
- import("core.template")
+ import("core.project.template")
-- make description
local description = {}
@@ -61,7 +61,7 @@ task("create")
, function ()
-- import template
- import("core.template")
+ import("core.project.template")
-- make description
local description = {}
@@ -75,7 +75,7 @@ task("create")
-- get it
return description
end }
-]]
+
, {}
, {nil, "target", "v", nil, "Create the given target."
, "Uses the project name as target if not exists." }