parent
720530b308
commit
2e245432a5
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue