diff options
Diffstat (limited to 'compiler/package.yaml')
-rw-r--r-- | compiler/package.yaml | 76 |
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 @@ | |||
1 | name: ldgallery-compiler | ||
2 | version: 0.1.0.0 | ||
3 | github: "pacien/ldgallery" | ||
4 | license: AGPL-3 | ||
5 | author: "Pacien TRAN-GIRARD, Guillaume FOUET" | ||
6 | maintainer: "" | ||
7 | copyright: "2019 Pacien TRAN-GIRARD, Guillaume FOUET" | ||
8 | |||
9 | extra-source-files: | ||
10 | - readme.md | ||
11 | |||
12 | # Metadata used when publishing your package | ||
13 | synopsis: A static generator which turns a collection of tagged pictures into a searchable web gallery | ||
14 | category: Web | ||
15 | description: Please see the README on GitHub at <https://github.com/pacien/ldgallery> | ||
16 | |||
17 | dependencies: | ||
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 | |||
33 | default-extensions: | ||
34 | - DuplicateRecordFields | ||
35 | - DeriveGeneric | ||
36 | - DeriveDataTypeable | ||
37 | - DeriveAnyClass | ||
38 | - FlexibleContexts | ||
39 | - NamedFieldPuns | ||
40 | - OverloadedStrings | ||
41 | |||
42 | ghc-options: | ||
43 | - -Werror | ||
44 | - -Wall | ||
45 | - -Wcompat | ||
46 | - -Widentities | ||
47 | - -Wincomplete-uni-patterns | ||
48 | - -Wredundant-constraints | ||
49 | |||
50 | data-dir: data | ||
51 | data-files: ["**/*"] | ||
52 | |||
53 | library: | ||
54 | source-dirs: src | ||
55 | |||
56 | executables: | ||
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 | |||
67 | tests: | ||
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 | ||