git.iko.soy/typeable/bloodhound
on master help sign in
Merge pull request #206 from jagare/test_default_es5
b0862f2Chris Allen
bloodhound.cabal+6−6
@@ -22,11 +22,11 @@ source-repository head
22
22
23Flag ES1
23Flag ES1
24 Description: Run the test suite against an Elasticsearch 1.x server
24 Description: Run the test suite against an Elasticsearch 1.x server
25− Default: True
25+ Default: False
26
26
27Flag ES5
27Flag ES5
28 Description: Run the test suite against an Elasticsearch 5.x server
28 Description: Run the test suite against an Elasticsearch 5.x server
29− Default: False
29+ Default: True
30
30
31library
31library
32 ghc-options: -Wall
32 ghc-options: -Wall
@@ -67,11 +67,11 @@ test-suite tests
67 ghc-options: -Wall -fno-warn-orphans
67 ghc-options: -Wall -fno-warn-orphans
68 type: exitcode-stdio-1.0
68 type: exitcode-stdio-1.0
69 main-is: tests.hs
69 main-is: tests.hs
70− if flag(ES5)
70+ if flag(ES1)
71− hs-source-dirs: tests/V5
72− else
73 hs-source-dirs: tests/V1
71 hs-source-dirs: tests/V1
74−
72+ else
73+ hs-source-dirs: tests/V5
74+
75 build-depends: base,
75 build-depends: base,
76 bloodhound,
76 bloodhound,
77 bytestring,
77 bytestring,