-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshake-factory.cabal
71 lines (66 loc) · 2.35 KB
/
shake-factory.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
cabal-version: 2.4
name: shake-factory
version: 0.0.0.0
synopsis: See README for more info
description: Shake functions to build project in Software Factory.
license: Apache-2.0
license-file: LICENSE
author: Software Factory Dev
maintainer: Software Factory Dev <[email protected]>
copyright: 2020 Red Hat
category: Development
build-type: Simple
extra-doc-files: README.md
tested-with: GHC == 8.6.5
common common-options
build-depends: base >= 4.12.0.0 && < 5
, directory
, dhall >= 1.34.0
, shake >= 0.19.1
, shake-dhall >= 0.1.0.0
, casing
, text
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: ShakeFactory
, ShakeFactory.Config
, ShakeFactory.Container
, ShakeFactory.Dhall
, ShakeFactory.Haskell
, ShakeFactory.Python
, ShakeFactory.Javascript
executable shake-factory
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends: shake-factory
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
test-suite shake-factory-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: shake-factory
, doctest
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N