-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal-doctest-demo.cabal
43 lines (34 loc) · 1.02 KB
/
cabal-doctest-demo.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
cabal-version: 3.8
name: cabal-doctest-demo
version: 0.1.0.0
synopsis:
-- A longer description of the package.
-- description:
homepage:
-- A URL where users can report bugs.
-- bug-reports:
license: NONE
author: Gershom Bazerman
maintainer: gershom@arista.com
common libdeps
build-depends: base < 6, bytestring, network
library
import: libdeps
exposed-modules: MyLib, MyDep, MyOtherDep
hs-source-dirs: src
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
build-tool-depends: docspec-static-demo:docspec-static
main-is: Main.hs
hs-source-dirs: test
build-depends: cabal-doctest-demo, base < 6, tasty, tasty-hunit
code-generators: docspec-static
test-suite doctest
import: libdeps
type: exitcode-stdio-1.0
build-tool-depends: doctest-codegen-driver:doctest-codegen-driver
main-is: Main.hs
hs-source-dirs: test
build-depends: cabal-doctest-demo, doctest
code-generators: doctest-codegen-driver