Add a note about interaction of the new and existing build systems.
[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                        , Environment
24                        , Expression
25                        , GHC
26                        , Oracles
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.WindowsRoot
38                        , Package
39                        , Predicates
40                        , Rules
41                        , Rules.Actions
42                        , Rules.Cabal
43                        , Rules.Clean
44                        , Rules.Compile
45                        , Rules.Config
46                        , Rules.Data
47                        , Rules.Dependencies
48                        , Rules.Documentation
49                        , Rules.Generate
50                        , Rules.Generators.Common
51                        , Rules.Generators.ConfigHs
52                        , Rules.Generators.GhcAutoconfH
53                        , Rules.Generators.GhcBootPlatformH
54                        , Rules.Generators.GhcPlatformH
55                        , Rules.Generators.GhcSplit
56                        , Rules.Generators.GhcVersionH
57                        , Rules.Generators.VersionHs
58                        , Rules.Gmp
59                        , Rules.Libffi
60                        , Rules.Library
61                        , Rules.Oracles
62                        , Rules.Package
63                        , Rules.Perl
64                        , Rules.Program
65                        , Rules.Resources
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.DeriveConstants
74                        , Settings.Builders.Gcc
75                        , Settings.Builders.GenApply
76                        , Settings.Builders.GenPrimopCode
77                        , Settings.Builders.Ghc
78                        , Settings.Builders.GhcCabal
79                        , Settings.Builders.GhcPkg
80                        , Settings.Builders.Haddock
81                        , Settings.Builders.Happy
82                        , Settings.Builders.Hsc2Hs
83                        , Settings.Builders.HsCpp
84                        , Settings.Builders.Ld
85                        , Settings.Builders.Tar
86                        , Settings.Default
87                        , Settings.Packages
88                        , Settings.Packages.Base
89                        , Settings.Packages.Compiler
90                        , Settings.Packages.Directory
91                        , Settings.Packages.Ghc
92                        , Settings.Packages.GhcCabal
93                        , Settings.Packages.GhcPrim
94                        , Settings.Packages.Haddock
95                        , Settings.Packages.Hp2ps
96                        , Settings.Packages.IntegerGmp
97                        , Settings.Packages.IservBin
98                        , Settings.Packages.Rts
99                        , Settings.Packages.RunGhc
100                        , Settings.Packages.Touchy
101                        , Settings.Packages.Unlit
102                        , Settings.Paths
103                        , Settings.User
104                        , Settings.Ways
105                        , Stage
106                        , Target
107                        , Test
108                        , Way
109
110     default-language:    Haskell2010
111     other-extensions:    DeriveDataTypeable
112                        , DeriveGeneric
113                        , FlexibleInstances
114                        , GeneralizedNewtypeDeriving
115                        , LambdaCase
116                        , OverloadedStrings
117                        , RecordWildCards
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