aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Compiler.hs
diff options
context:
space:
mode:
authorpacien2019-12-28 19:04:54 +0100
committerpacien2019-12-28 19:04:54 +0100
commit538996dc84b03eab1429ddd693334673b857c005 (patch)
tree65b8c0e31895b6a96d559e73a038ebcf6395dbf6 /compiler/src/Compiler.hs
parentc002224309f0149e7ef03b3037d1549f770f2f09 (diff)
downloadldgallery-538996dc84b03eab1429ddd693334673b857c005.tar.gz
compiler: parameterise gallery name
Diffstat (limited to 'compiler/src/Compiler.hs')
-rw-r--r--compiler/src/Compiler.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs
index 2584570..dbe6cae 100644
--- a/compiler/src/Compiler.hs
+++ b/compiler/src/Compiler.hs
@@ -38,7 +38,7 @@ import qualified Data.Aeson as JSON
38import Config 38import Config
39import Input (decodeYamlFile, readInputTree) 39import Input (decodeYamlFile, readInputTree)
40import Resource (ResourceTree, buildResourceTree, cleanupResourceDir) 40import Resource (ResourceTree, buildResourceTree, cleanupResourceDir)
41import Gallery (buildGalleryTree) 41import Gallery (buildGallery)
42import Files 42import Files
43 ( FileName 43 ( FileName
44 , FSNode(..) 44 , FSNode(..)
@@ -81,7 +81,7 @@ compileGallery inputDirPath outputDirPath rebuildAll =
81 81
82 cleanupResourceDir resourceTree outputDirPath 82 cleanupResourceDir resourceTree outputDirPath
83 83
84 buildGalleryTree resourceTree 84 buildGallery (galleryName config) resourceTree
85 & writeJSON outputIndex 85 & writeJSON outputIndex
86 86
87 viewer fullConfig 87 viewer fullConfig