mirror of
https://github.com/typeable/bloodhound.git
synced 2024-11-25 23:46:40 +03:00
ES5 default for tests
This commit is contained in:
parent
e34d30285b
commit
e10e55db66
@ -22,11 +22,11 @@ source-repository head
|
||||
|
||||
Flag ES1
|
||||
Description: Run the test suite against an Elasticsearch 1.x server
|
||||
Default: True
|
||||
Default: False
|
||||
|
||||
Flag ES5
|
||||
Description: Run the test suite against an Elasticsearch 5.x server
|
||||
Default: False
|
||||
Default: True
|
||||
|
||||
library
|
||||
ghc-options: -Wall
|
||||
@ -67,11 +67,11 @@ test-suite tests
|
||||
ghc-options: -Wall -fno-warn-orphans
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: tests.hs
|
||||
if flag(ES5)
|
||||
hs-source-dirs: tests/V5
|
||||
else
|
||||
if flag(ES1)
|
||||
hs-source-dirs: tests/V1
|
||||
|
||||
else
|
||||
hs-source-dirs: tests/V5
|
||||
|
||||
build-depends: base,
|
||||
bloodhound,
|
||||
bytestring,
|
||||
|
Loading…
Reference in New Issue
Block a user