Drop redundant 'build' component in build paths, rename contextPath to buildPath.
[ghc.git] / shaking-up-ghc.cabal
1 name:                shaking-up-ghc
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-2015
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/shaking-up-ghc
16
17 executable ghc-shake
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.PackageDeps
37                        , Oracles.WindowsPath
38                        , Package
39                        , Predicates
40                        , Rules
41                        , Rules.Actions
42                        , Rules.Cabal
43                        , Rules.Clean
44                        , Rules.Compile
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.Setup
66                        , Rules.Test
67                        , Rules.Wrappers.Ghc
68                        , Rules.Wrappers.GhcPkg
69                        , Settings
70                        , Settings.Args
71                        , Settings.Builders.Alex
72                        , Settings.Builders.Ar
73                        , Settings.Builders.Common
74                        , Settings.Builders.DeriveConstants
75                        , Settings.Builders.Gcc
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.Tar
87                        , Settings.Default
88                        , Settings.Packages
89                        , Settings.Packages.Base
90                        , Settings.Packages.Compiler
91                        , Settings.Packages.Directory
92                        , Settings.Packages.Ghc
93                        , Settings.Packages.GhcCabal
94                        , Settings.Packages.GhcPrim
95                        , Settings.Packages.Haddock
96                        , Settings.Packages.Hp2ps
97                        , Settings.Packages.IntegerGmp
98                        , Settings.Packages.IservBin
99                        , Settings.Packages.Rts
100                        , Settings.Packages.RunGhc
101                        , Settings.Packages.Touchy
102                        , Settings.Packages.Unlit
103                        , Settings.Paths
104                        , Settings.User
105                        , Settings.Ways
106                        , Stage
107                        , Target
108                        , Way
109
110     default-language:    Haskell2010
111     default-extensions:  RecordWildCards
112     other-extensions:    DeriveDataTypeable
113                        , DeriveGeneric
114                        , FlexibleInstances
115                        , GeneralizedNewtypeDeriving
116                        , LambdaCase
117                        , OverloadedStrings
118                        , ScopedTypeVariables
119     build-depends:       base >= 4.8 && < 5
120                        , ansi-terminal        == 0.6.*
121                        , Cabal                == 1.22.*
122                        , containers           == 0.5.*
123                        , directory            == 1.2.*
124                        , extra                == 1.4.*
125                        , mtl                  == 2.2.*
126                        , QuickCheck           >= 2.6 && < 2.9
127                        , shake                == 0.15.*
128                        , transformers         >= 0.4 && < 0.6
129                        , unordered-containers == 0.2.*
130     ghc-options:         -Wall -fno-warn-name-shadowing -rtsopts -with-rtsopts=-I0