commit 994488140435cc2a28f867b7a69c4dc575a0fda0
parent 473c1eef16a7c9b8df3c03d7816e268beaea586d
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date: Wed, 22 Nov 2017 15:39:44 -0500
Remove the lfs dependency and add some other configs
Diffstat:
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/config.lua b/config.lua
@@ -1,13 +1,32 @@
---
+--
-- Ferron SSG Configuration File
--
-local lfs = require("lfs")
-local config = {
+local config = {
+ source = {
+ url = "https://github.com/hs0ucy/ferron-ssg"
+ },
+
+ description = {
+ homepage = "https://github.com/hs0ucy/ferron-ssg",
+ license = "MIT"
+ },
+
paths = {
- functions = lfs.currentdir() .. "/functions",
- sites = lfs.currentdir() .. "/sites"
+ functions = "./functions",
+ sites = "./sites"
+ },
+
+ dependencies = {
+ "lua ~> 5.3",
+ "luafilesystem",
+ "lustache",
+ "lua-path",
+ "dkjson",
+ "markdown",
+ "mimetype"
}
+
}
return config