-
Notifications
You must be signed in to change notification settings - Fork 2
/
stringdiagrams.cabal
56 lines (50 loc) · 1.6 KB
/
stringdiagrams.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
cabal-version: 3.0
name: stringdiagrams
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
homepage: https://github.com/celrm/stringdiagrams
license: NONE
author: Celia Rubio
maintainer: celia_rubio@hotmail.es
build-type: Simple
extra-doc-files: CHANGELOG.md
-- copyright:
-- synopsis:
-- description:
common shared-properties
ghc-options: -Wall
default-language: Haskell2010
build-depends:
base(>=4.8 && <4.19),
diagrams-lib(>=1.4 && <1.5),
diagrams-svg,
safe, aeson, bytestring,
containers(>0.4 && <0.7),
matrix
library
import: shared-properties
hs-source-dirs: src
exposed-modules:
StringDiagrams,
StringDiagrams.Draw.MatrixDiagram,
StringDiagrams.Draw.NaiveDiagram,
StringDiagrams.Draw.WiresDiagram,
StringDiagrams.Draw.LabelsDiagram,
other-modules:
StringDiagrams.Read,
StringDiagrams.Draw,
StringDiagrams.BrickWrapper,
StringDiagrams.MonCatWrapper,
executable stringdiagrams
import: shared-properties
build-depends: stringdiagrams
hs-source-dirs: app
main-is: Main.hs
test-suite stringdiagrams-test
import: shared-properties
build-depends: stringdiagrams, directory, filepath
hs-source-dirs: test
main-is: Main.hs
type: exitcode-stdio-1.0