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