ferron

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

commit 33d1ffd2b0557b246487f89cb9a8f0d46493a27d
parent 39f6f8fab42eeff885fc945b2a7bd332f46cc76d
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Wed, 28 Mar 2018 08:34:44 -0400

Add a script to deal with paths in luarocks cutom directory

Diffstat:
Aset_paths.lua | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/set_paths.lua b/set_paths.lua @@ -0,0 +1,5 @@ +-- set_paths.lua +local version = _VERSION:match("%d+%.%d+") + +package.path = 'lua_modules/share/lua/' .. version .. '/?.lua;lua_modules/share/lua/' .. version .. '/?/init.lua;' .. package.path +package.cpath = 'lua_modules/lib/lua/' .. version .. '/?.so;' .. package.cpath