Commit b05ab1a8 authored by thomie's avatar thomie

Build system: cleanup a few .cabal files

parent 1f1c7c61
......@@ -13,7 +13,7 @@ cabal-version: >=1.10
Executable ghc-cabal
Default-Language: Haskell2010
Main-Is: ghc-cabal.hs
Main-Is: Main.hs
Build-Depends: base >= 3 && < 5,
bytestring >= 0.10 && < 0.11,
......
......@@ -13,7 +13,7 @@ cabal-version: >=1.10
Executable ghc-pwd
Default-Language: Haskell2010
Main-Is: ghc-pwd.hs
Main-Is: Main.hs
Build-Depends: base >= 3 && < 5,
directory >= 1 && < 1.3
......@@ -13,15 +13,9 @@ Category: Development
build-type: Simple
cabal-version: >=1.10
Flag base4
Description: Choose the even newer, even smaller, split-up base package.
Flag base3
Description: Choose the new smaller, split-up base package.
Executable hpc
Default-Language: Haskell2010
Main-Is: Hpc.hs
Main-Is: Main.hs
Other-Modules: HpcParser
HpcCombine
HpcDraft
......@@ -34,17 +28,10 @@ Executable hpc
HpcUtils
Paths_hpc_bin
if flag(base4)
Build-Depends: base >= 4 && < 5
if flag(base3)
Build-Depends: base >= 3 && < 4
if !flag(base3) && !flag(base4)
Build-Depends: base < 3
if flag(base3) || flag(base4)
Build-Depends: directory >= 1 && < 1.3,
filepath >= 1 && < 1.5,
containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.6
Build-Depends: hpc
Build-Depends: base >= 4 && < 5,
directory >= 1 && < 1.3,
filepath >= 1 && < 1.5,
containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.6,
hpc
......@@ -12,18 +12,11 @@ Category: Development
build-type: Simple
cabal-version: >=1.10
Flag base3
Description: Choose the new smaller, split-up base package.
Executable runghc
Default-Language: Haskell2010
Main-Is: Main.hs
if flag(base3)
Build-Depends: base >= 3 && < 5,
directory >= 1 && < 1.3,
process >= 1 && < 1.3
else
Build-Depends: base < 3
Build-Depends: filepath
Build-Depends: base >= 3 && < 5,
directory >= 1 && < 1.3,
process >= 1 && < 1.3,
filepath
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment