aboutsummaryrefslogtreecommitdiff
path: root/compiler/package.yaml
diff options
context:
space:
mode:
authorpacien2019-12-21 19:28:58 +0100
committerpacien2019-12-21 19:28:58 +0100
commitbbae6ddb97c0825f6b0b689f4d9eeac67515d1c1 (patch)
treefcf7b89c21b56a6587e53a1cb8e7678cba0b79bb /compiler/package.yaml
parent91d3148f97ca59769648f9307f3d7e65b1bd7e95 (diff)
downloadldgallery-bbae6ddb97c0825f6b0b689f4d9eeac67515d1c1.tar.gz
compiler: init stack project
Diffstat (limited to 'compiler/package.yaml')
-rw-r--r--compiler/package.yaml48
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 @@
1name: ldgallery-compiler
2version: 0.1.0.0
3github: "githubuser/ldgallery-compiler"
4license: BSD3
5author: "Author name here"
6maintainer: "example@example.com"
7copyright: "2019 Author name here"
8
9extra-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.
20description: Please see the README on GitHub at <https://github.com/githubuser/ldgallery-compiler#readme>
21
22dependencies:
23- base >= 4.7 && < 5
24
25library:
26 source-dirs: src
27
28executables:
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
39tests:
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