aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Compiler.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/Compiler.hs')
-rw-r--r--compiler/src/Compiler.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs
index 2a0dccc..bfefa63 100644
--- a/compiler/src/Compiler.hs
+++ b/compiler/src/Compiler.hs
@@ -116,7 +116,7 @@ compileGallery inputDirPath outputDirPath excludedDirs rebuildAll cleanOutput =
116 let itemProc = itemProcessor config cache 116 let itemProc = itemProcessor config cache
117 let thumbnailProc = thumbnailProcessor config cache 117 let thumbnailProc = thumbnailProcessor config cache
118 let galleryBuilder = buildGalleryTree itemProc thumbnailProc (tagsFromDirectories config) 118 let galleryBuilder = buildGalleryTree itemProc thumbnailProc (tagsFromDirectories config)
119 resources <- galleryBuilder (galleryName config) inputTree 119 resources <- galleryBuilder inputTree
120 120
121 when cleanOutput $ galleryCleanupResourceDir resources outputDirPath 121 when cleanOutput $ galleryCleanupResourceDir resources outputDirPath
122 writeJSON outputIndex resources 122 writeJSON outputIndex resources