ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit 5bf36ac9ad2c84f7d4292336a720bcc877ed62fd
parent df4e4b5dfbc455df82f6692ad33182ed3957df5f
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 17 Dec 2018 23:30:26 -0500

Change a function to be local

Diffstat:
Mferron/static.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ferron/static.lua b/ferron/static.lua @@ -14,7 +14,7 @@ local function dispatch(file) return os.execute("cp -p " .. file .. " " .. Ferron.site.path .. Ferron.site.config.paths.html) end -function move() +local function move() return os.execute("cp -Rp " .. Ferron.site.path .. Ferron.site.config.paths.static .. "/*" .. " " .. Ferron.site.path .. Ferron.site.config.paths.html) end