1cabal-version: 3.4
2name: mach
3version: 0.1.0.0
4synopsis: A WiP implementation of the POSIX make build system
5-- description:
6license: CC-BY-NC-SA-4.0
7license-file: LICENSE
8author: Sören Tempel
9maintainer: soeren+git@soeren-tempel.net
10-- copyright:
11category: Development
12build-type: Simple
13extra-doc-files: README.md
14data-files: share/*.mk
15-- extra-source-files:
16
17common warnings
18 ghc-options: -Wall
19
20library
21 import: warnings
22 hs-source-dirs: lib
23 default-language: Haskell2010
24 other-modules: Paths_mach
25 exposed-modules:
26 Mach.Main,
27 Mach.Exec,
28 Mach.Eval,
29 Mach.Parser,
30 Mach.Types,
31 Mach.Util,
32 Mach.Error
33
34 -- Dependencies without constraints are vendored by GHC itself.
35 build-depends:
36 base,
37 parsec,
38 containers,
39 directory,
40 process,
41
42executable mach
43 import: warnings
44 main-is: Main.hs
45 hs-source-dirs: exe
46 default-language: Haskell2010
47
48 -- Dependencies without constraints are vendored by GHC itself.
49 build-depends:
50 base,
51 mach
52
53test-suite mach-test
54 import: warnings
55 default-language: Haskell2010
56 type: exitcode-stdio-1.0
57 hs-source-dirs: test
58 main-is: Main.hs
59 other-modules:
60 Util,
61 Parser,
62 Golden
63
64 -- Dependencies without constraints are vendored by GHC itself.
65 build-depends:
66 base,
67 parsec,
68 process,
69 directory,
70 filepath,
71 tasty >=1.4.3,
72 tasty-hunit >=0.10,
73 tasty-golden >=2.3.5,
74 mach