Clean-up cabal file: Remove development flag

pull/75/head 0.9.0.0
Lennart Spitzner 2017-12-08 21:14:35 +01:00
parent 16d5116193
commit 4ded834a97
1 changed files with 0 additions and 22 deletions

View File

@ -32,11 +32,6 @@ source-repository head {
location: https://github.com/lspitzner/brittany.git location: https://github.com/lspitzner/brittany.git
} }
flag brittany-dev
description: dev options
default: False
manual: True
flag brittany-dev-lib flag brittany-dev-lib
description: set buildable false for anything but lib description: set buildable false for anything but lib
default: False default: False
@ -83,9 +78,6 @@ library {
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-redundant-constraints -fno-warn-redundant-constraints
} }
if flag(brittany-dev) {
ghc-options: -O0 -Werror -fobject-code
}
build-depends: build-depends:
{ base >=4.9 && <4.11 { base >=4.9 && <4.11
, ghc >=8.0.1 && <8.3 , ghc >=8.0.1 && <8.3
@ -206,14 +198,6 @@ executable brittany
-rtsopts -rtsopts
-with-rtsopts "-M2G" -with-rtsopts "-M2G"
} }
if flag(brittany-dev) {
ghc-options:
-O0
-Werror
-fobject-code
-fprof-auto
-fprof-cafs
}
test-suite unittests test-suite unittests
if flag(brittany-dev-lib) { if flag(brittany-dev-lib) {
@ -282,9 +266,6 @@ test-suite unittests
-rtsopts -rtsopts
-with-rtsopts "-M2G" -with-rtsopts "-M2G"
} }
if flag(brittany-dev) {
ghc-options: -O0 -Werror -fobject-code
}
test-suite littests test-suite littests
if flag(brittany-dev-lib) { if flag(brittany-dev-lib) {
@ -354,9 +335,6 @@ test-suite littests
-rtsopts -rtsopts
-with-rtsopts "-M2G" -with-rtsopts "-M2G"
} }
if flag(brittany-dev) {
ghc-options: -O0 -Werror -fobject-code
}
test-suite libinterfacetests test-suite libinterfacetests
if flag(brittany-dev-lib) { if flag(brittany-dev-lib) {