diff options
| author | ruki <[email protected]> | 2018-05-15 00:23:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-14 20:21:49 +0800 |
| commit | cc2c840795a7472c485b806f5bffbeb8b11c4063 (patch) | |
| tree | a5fd3affac54acfacc1dc0c317205125b6e4c961 /xmake/core/project/template.lua | |
| parent | 9bbbe1dda368c67263a127bd292c455006db6f36 (diff) | |
add file values to target
Diffstat (limited to 'xmake/core/project/template.lua')
| -rw-r--r-- | xmake/core/project/template.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua index e72209523..c21e5c869 100644 --- a/xmake/core/project/template.lua +++ b/xmake/core/project/template.lua @@ -280,6 +280,7 @@ function template.create(language, templateid, targetname) if os.isfile(projectfile) then local file = io.open("xmake.lua", "a+") if file then + file:print("") file:print(template.faq()) file:close() end @@ -292,6 +293,7 @@ end -- get FAQ function template.faq() return [[ +-- -- FAQ -- -- You can enter the project directory firstly before building project. |
