Remove unnecessary flags
parent
75aed1cb8a
commit
0c720ee032
|
@ -30,16 +30,6 @@ source-repository head
|
|||
type: git
|
||||
location: https://github.com/lspitzner/brittany.git
|
||||
|
||||
flag brittany-dev-lib
|
||||
description: set buildable false for anything but lib
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
flag brittany-test-perf
|
||||
description: determines if performance test suite is enabled
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
common library
|
||||
build-depends:
|
||||
, aeson ^>= 2.0.1
|
||||
|
@ -133,18 +123,12 @@ library
|
|||
executable brittany
|
||||
import: executable
|
||||
|
||||
if flag(brittany-dev-lib)
|
||||
buildable: False
|
||||
|
||||
hs-source-dirs: source/executable
|
||||
main-is: Main.hs
|
||||
|
||||
test-suite unittests
|
||||
import: executable
|
||||
|
||||
if flag(brittany-dev-lib) || !flag(brittany-test-perf)
|
||||
buildable: False
|
||||
|
||||
type: exitcode-stdio-1.0
|
||||
build-depends:
|
||||
, hspec ^>= 2.8.3
|
||||
|
@ -156,9 +140,6 @@ test-suite unittests
|
|||
test-suite littests
|
||||
import: executable
|
||||
|
||||
if flag(brittany-dev-lib)
|
||||
buildable: False
|
||||
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
|
@ -170,9 +151,6 @@ test-suite littests
|
|||
test-suite libinterfacetests
|
||||
import: executable
|
||||
|
||||
if flag(brittany-dev-lib)
|
||||
buildable: False
|
||||
|
||||
type: exitcode-stdio-1.0
|
||||
build-depends:
|
||||
, hspec ^>= 2.8.3
|
||||
|
|
Loading…
Reference in New Issue