Remove cabal flag "butcher-dev"

pull/5/head 1.3.0.1
Lennart Spitzner 2018-04-13 21:23:35 +02:00
parent 720530b308
commit 2e245432a5
1 changed files with 1 additions and 23 deletions

View File

@ -24,11 +24,6 @@ source-repository head {
location: https://github.com/lspitzner/butcher.git location: https://github.com/lspitzner/butcher.git
} }
flag butcher-dev
description: dev options
default: False
manual: True
library library
exposed-modules: UI.Butcher.Monadic.Types exposed-modules: UI.Butcher.Monadic.Types
UI.Butcher.Monadic UI.Butcher.Monadic
@ -57,10 +52,6 @@ library
, bifunctors <5.6 , bifunctors <5.6
, deque <0.3 , deque <0.3
} }
if flag(butcher-dev) {
build-depends:
hspec
}
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
default-extensions: { default-extensions: {
@ -93,9 +84,6 @@ library
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-orphans -fno-warn-orphans
} }
if flag(butcher-dev) {
ghc-options: -O0 -Werror -fprof-auto -fprof-cafs
}
include-dirs: include-dirs:
srcinc srcinc
@ -116,14 +104,8 @@ test-suite tests
, mtl , mtl
, extra , extra
, deque , deque
, hspec
} }
if flag(butcher-dev) {
buildable: True
build-depends:
hspec
} else {
buildable: False
}
ghc-options: -Wall ghc-options: -Wall
main-is: TestMain.hs main-is: TestMain.hs
other-modules: other-modules:
@ -149,7 +131,3 @@ test-suite tests
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-orphans -fno-warn-orphans
} }
if flag(butcher-dev) {
ghc-options: -Werror -fprof-auto -fprof-cafs -O0
}