aboutsummaryrefslogtreecommitdiff
path: root/compiler/package.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/package.yaml')
-rw-r--r--compiler/package.yaml76
1 files changed, 76 insertions, 0 deletions
diff --git a/compiler/package.yaml b/compiler/package.yaml
new file mode 100644
index 0000000..043985d
--- /dev/null
+++ b/compiler/package.yaml
@@ -0,0 +1,76 @@
1name: ldgallery-compiler
2version: 0.1.0.0
3github: "pacien/ldgallery"
4license: AGPL-3
5author: "Pacien TRAN-GIRARD, Guillaume FOUET"
6maintainer: ""
7copyright: "2019 Pacien TRAN-GIRARD, Guillaume FOUET"
8
9extra-source-files:
10- readme.md
11
12# Metadata used when publishing your package
13synopsis: A static generator which turns a collection of tagged pictures into a searchable web gallery
14category: Web
15description: Please see the README on GitHub at <https://github.com/pacien/ldgallery>
16
17dependencies:
18- base >= 4.7 && < 5
19- containers
20- filepath
21- directory
22- text
23- aeson
24- yaml
25- cmdargs
26- JuicyPixels
27- JuicyPixels-extra
28- parallel-io
29- Glob
30- safe
31- time
32
33default-extensions:
34- DuplicateRecordFields
35- DeriveGeneric
36- DeriveDataTypeable
37- DeriveAnyClass
38- FlexibleContexts
39- NamedFieldPuns
40- OverloadedStrings
41
42ghc-options:
43- -Werror
44- -Wall
45- -Wcompat
46- -Widentities
47- -Wincomplete-uni-patterns
48- -Wredundant-constraints
49
50data-dir: data
51data-files: ["**/*"]
52
53library:
54 source-dirs: src
55
56executables:
57 ldgallery-compiler-exe:
58 main: Main.hs
59 source-dirs: app
60 ghc-options:
61 - -threaded
62 - -rtsopts
63 - -with-rtsopts=-N
64 dependencies:
65 - ldgallery-compiler
66
67tests:
68 ldgallery-compiler-test:
69 main: Spec.hs
70 source-dirs: test
71 ghc-options:
72 - -threaded
73 - -rtsopts
74 - -with-rtsopts=-N
75 dependencies:
76 - ldgallery-compiler