aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Compiler.hs
diff options
context:
space:
mode:
authorpacien2019-12-31 00:16:29 +0100
committerpacien2019-12-31 00:16:29 +0100
commit9d2b6cf4641cfff08ad556d3a7b24d4d63464eb5 (patch)
tree374b88146cb32ea2b5ab8e8b7d613d16d65f0059 /compiler/src/Compiler.hs
parentd0962ef2dea7e8a0c25ca8fdbc55fcbafeeb2f79 (diff)
downloadldgallery-9d2b6cf4641cfff08ad556d3a7b24d4d63464eb5.tar.gz
compiler: populate the properties field in the index
GitHub: closes #8
Diffstat (limited to 'compiler/src/Compiler.hs')
-rw-r--r--compiler/src/Compiler.hs9
1 files changed, 3 insertions, 6 deletions
diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs
index 048afc1..f15192f 100644
--- a/compiler/src/Compiler.hs
+++ b/compiler/src/Compiler.hs
@@ -37,7 +37,7 @@ import qualified Data.Aeson as JSON
37 37
38import Config 38import Config
39import Input (decodeYamlFile, readInputTree) 39import Input (decodeYamlFile, readInputTree)
40import Resource (GalleryItem, buildGalleryTree, galleryCleanupResourceDir) 40import Resource (buildGalleryTree, galleryCleanupResourceDir)
41import Files 41import Files
42 ( FileName 42 ( FileName
43 , FSNode(..) 43 , FSNode(..)
@@ -48,11 +48,8 @@ import Files
48 , ensureParentDir 48 , ensureParentDir
49 , isOutdated ) 49 , isOutdated )
50import Processors 50import Processors
51 ( dirFileProcessor 51 ( dirFileProcessor, itemFileProcessor, thumbnailFileProcessor
52 , itemFileProcessor 52 , skipCached, withCached )
53 , thumbnailFileProcessor
54 , skipCached
55 , withCached )
56 53
57 54
58writeJSON :: ToJSON a => FileName -> a -> IO () 55writeJSON :: ToJSON a => FileName -> a -> IO ()