commit 0ffc2022be731dd6bd11ca5102712ffb72264cd7
parent af8dbc7448cd2d11018e4d653fc75bdc46928294
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 28 Feb 2016 18:54:22 +0100
Removing the "motyl init" functionality, there is now a starter project instead
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/motyl.lua b/motyl.lua
@@ -58,15 +58,6 @@ data.site = loadJSON("config.json")
data.site.datetime = os.date("%c")
data.site.year = os.date('%Y')
-if arg[1] == "init" then
- lfs.mkdir("deploy")
- lfs.mkdir("pages")
- lfs.mkdir("posts")
- lfs.mkdir("static")
-
- os.exit(1)
-end
-
-- Loading templates
local templates = {
header = readFile("templates/header.mustache"),