diff options
Diffstat (limited to 'compiler/package.yaml')
-rw-r--r-- | compiler/package.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/compiler/package.yaml b/compiler/package.yaml new file mode 100644 index 0000000..7cd0178 --- /dev/null +++ b/compiler/package.yaml | |||
@@ -0,0 +1,48 @@ | |||
1 | name: ldgallery-compiler | ||
2 | version: 0.1.0.0 | ||
3 | github: "githubuser/ldgallery-compiler" | ||
4 | license: BSD3 | ||
5 | author: "Author name here" | ||
6 | maintainer: "example@example.com" | ||
7 | copyright: "2019 Author name here" | ||
8 | |||
9 | extra-source-files: | ||
10 | - README.md | ||
11 | - ChangeLog.md | ||
12 | |||
13 | # Metadata used when publishing your package | ||
14 | # synopsis: Short description of your package | ||
15 | # category: Web | ||
16 | |||
17 | # To avoid duplicated efforts in documentation and dealing with the | ||
18 | # complications of embedding Haddock markup inside cabal files, it is | ||
19 | # common to point users to the README.md file. | ||
20 | description: Please see the README on GitHub at <https://github.com/githubuser/ldgallery-compiler#readme> | ||
21 | |||
22 | dependencies: | ||
23 | - base >= 4.7 && < 5 | ||
24 | |||
25 | library: | ||
26 | source-dirs: src | ||
27 | |||
28 | executables: | ||
29 | ldgallery-compiler-exe: | ||
30 | main: Main.hs | ||
31 | source-dirs: app | ||
32 | ghc-options: | ||
33 | - -threaded | ||
34 | - -rtsopts | ||
35 | - -with-rtsopts=-N | ||
36 | dependencies: | ||
37 | - ldgallery-compiler | ||
38 | |||
39 | tests: | ||
40 | ldgallery-compiler-test: | ||
41 | main: Spec.hs | ||
42 | source-dirs: test | ||
43 | ghc-options: | ||
44 | - -threaded | ||
45 | - -rtsopts | ||
46 | - -with-rtsopts=-N | ||
47 | dependencies: | ||
48 | - ldgallery-compiler | ||