Drop TransitiveDepNames
[ghc.git] / hadrian.cabal
1 name:                hadrian
2 version:             0.1.0.0
3 synopsis:            GHC build system
4 license:             BSD3
5 license-file:        LICENSE
6 author:              Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
7 maintainer:          Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
8 copyright:           Andrey Mokhov 2014-2016
9 category:            Development
10 build-type:          Simple
11 cabal-version:       >=1.10
12
13 source-repository head
14     type:     git
15     location: https://github.com/snowleopard/hadrian
16
17 executable hadrian
18     main-is:             Main.hs
19     hs-source-dirs:      src
20     other-modules:       Base
21                        , Builder
22                        , CmdLineFlag
23                        , Context
24                        , Environment
25                        , Expression
26                        , GHC
27                        , Oracles.ArgsHash
28                        , Oracles.Config
29                        , Oracles.Config.Flag
30                        , Oracles.Config.Setting
31                        , Oracles.Dependencies
32                        , Oracles.LookupInPath
33                        , Oracles.ModuleFiles
34                        , Oracles.PackageData
35                        , Oracles.PackageDb
36                        , Oracles.WindowsPath
37                        , Package
38                        , Predicate
39                        , Rules
40                        , Rules.Actions
41                        , Rules.Cabal
42                        , Rules.Clean
43                        , Rules.Compile
44                        , Rules.Configure
45                        , Rules.Data
46                        , Rules.Dependencies
47                        , Rules.Documentation
48                        , Rules.Generate
49                        , Rules.Generators.Common
50                        , Rules.Generators.ConfigHs
51                        , Rules.Generators.GhcAutoconfH
52                        , Rules.Generators.GhcBootPlatformH
53                        , Rules.Generators.GhcPlatformH
54                        , Rules.Generators.GhcSplit
55                        , Rules.Generators.GhcVersionH
56                        , Rules.Generators.VersionHs
57                        , Rules.Gmp
58                        , Rules.Libffi
59                        , Rules.Library
60                        , Rules.Oracles
61                        , Rules.Perl
62                        , Rules.Program
63                        , Rules.Register
64                        , Rules.Selftest
65                        , Rules.Test
66                        , Rules.Wrappers.Ghc
67                        , Rules.Wrappers.GhcPkg
68                        , Settings
69                        , Settings.Args
70                        , Settings.Builders.Alex
71                        , Settings.Builders.Ar
72                        , Settings.Builders.Common
73                        , Settings.Builders.Cc
74                        , Settings.Builders.Configure
75                        , Settings.Builders.DeriveConstants
76                        , Settings.Builders.GenApply
77                        , Settings.Builders.GenPrimopCode
78                        , Settings.Builders.Ghc
79                        , Settings.Builders.GhcCabal
80                        , Settings.Builders.GhcPkg
81                        , Settings.Builders.Haddock
82                        , Settings.Builders.Happy
83                        , Settings.Builders.Hsc2Hs
84                        , Settings.Builders.HsCpp
85                        , Settings.Builders.Ld
86                        , Settings.Builders.Make
87                        , Settings.Builders.Tar
88                        , Settings.Default
89                        , Settings.Flavours.Quick
90                        , Settings.Packages
91                        , Settings.Packages.Base
92                        , Settings.Packages.Compiler
93                        , Settings.Packages.Directory
94                        , Settings.Packages.Ghc
95                        , Settings.Packages.GhcCabal
96                        , Settings.Packages.GhcPrim
97                        , Settings.Packages.Haddock
98                        , Settings.Packages.Hp2ps
99                        , Settings.Packages.IntegerGmp
100                        , Settings.Packages.IservBin
101                        , Settings.Packages.Rts
102                        , Settings.Packages.RunGhc
103                        , Settings.Packages.Touchy
104                        , Settings.Packages.Unlit
105                        , Settings.Paths
106                        , Settings.User
107                        , Settings.Ways
108                        , Stage
109                        , Target
110                        , Way
111
112     default-language:    Haskell2010
113     default-extensions:  RecordWildCards
114     other-extensions:    DeriveGeneric
115                        , FlexibleInstances
116                        , GeneralizedNewtypeDeriving
117                        , LambdaCase
118                        , OverloadedStrings
119                        , ScopedTypeVariables
120     build-depends:       base >= 4.8 && < 5
121                        , ansi-terminal        == 0.6.*
122                        , Cabal                == 1.22.* || == 1.24.*
123                        , containers           == 0.5.*
124                        , directory            == 1.2.*
125                        , extra                == 1.4.*
126                        , mtl                  == 2.2.*
127                        , QuickCheck           >= 2.6 && < 2.9
128                        , shake                >= 0.15.6
129                        , transformers         >= 0.4 && < 0.6
130                        , unordered-containers == 0.2.*
131     ghc-options:         -Wall
132                          -fno-warn-name-shadowing
133                          -rtsopts -with-rtsopts=-I0
134                          -threaded