2018-01-31 03:02:29 +03:00
|
|
|
stack = STACK_YAML='stack.yaml' stack
|
|
|
|
|
2016-07-06 23:33:39 +03:00
|
|
|
build:
|
|
|
|
stack build
|
2014-04-07 03:29:46 +04:00
|
|
|
|
2018-02-07 06:32:20 +03:00
|
|
|
ghci:
|
|
|
|
stack ghci
|
2016-08-21 08:30:16 +03:00
|
|
|
|
|
|
|
test: echo-warn
|
2016-07-06 23:33:39 +03:00
|
|
|
stack test
|
2014-05-03 20:41:46 +04:00
|
|
|
|
2018-02-07 06:32:20 +03:00
|
|
|
test-rerun: echo-warn
|
|
|
|
stack test --test-arguments "-r"
|
|
|
|
|
|
|
|
test-ghci:
|
|
|
|
stack ghci bloodhound:test:bloodhound-tests
|
|
|
|
|
2018-01-31 03:02:29 +03:00
|
|
|
ghcid:
|
|
|
|
ghcid -c "$(stack) ghci bloodhound:lib --test --ghci-options='-fobject-code -fno-warn-unused-do-bind' --main-is bloodhound:test:bloodhound-tests"
|
|
|
|
|
2018-02-07 06:32:20 +03:00
|
|
|
mod-build:
|
|
|
|
stack build --ghc-options '+RTS -A128M -RTS'
|
|
|
|
|
|
|
|
echo-warn:
|
|
|
|
echo "Make certain you have an elasticsearch instance on localhost:9200 !"
|
|
|
|
|
2016-08-21 08:30:16 +03:00
|
|
|
7.8-build:
|
|
|
|
STACK_YAML="stack-7.8.yaml" stack build
|
|
|
|
|
|
|
|
7.8-test: echo-warn
|
|
|
|
STACK_YAML="stack-7.8.yaml" stack test
|
|
|
|
|
2017-01-30 21:06:03 +03:00
|
|
|
7.10-build:
|
2017-04-20 02:34:56 +03:00
|
|
|
STACK_YAML="stack-7.10.yaml" stack build
|
2016-08-21 08:30:16 +03:00
|
|
|
|
2017-01-30 21:06:03 +03:00
|
|
|
7.10-test: echo-warn
|
|
|
|
STACK_YAML="stack-7.10.yaml" stack test
|
2016-08-21 08:30:16 +03:00
|
|
|
|
2017-04-20 02:34:56 +03:00
|
|
|
7.10-test-ES1:
|
2017-08-04 06:35:32 +03:00
|
|
|
STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
|
2017-04-20 02:34:56 +03:00
|
|
|
|
|
|
|
7.10-test-ES5:
|
2017-08-04 06:35:32 +03:00
|
|
|
STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
|
|
|
|
|
|
|
|
8.0-test-ES1:
|
|
|
|
STACK_YAML="stack.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
|
|
|
|
|
|
|
|
8.0-test-ES5:
|
|
|
|
STACK_YAML="stack-8.0.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
|
2017-04-20 02:34:56 +03:00
|
|
|
|
2017-05-16 21:07:37 +03:00
|
|
|
8.0-build:
|
|
|
|
STACK_YAML="stack-8.0.yaml" stack build
|
|
|
|
|
|
|
|
8.2-build:
|
|
|
|
STACK_YAML="stack-8.2.yaml" stack build
|
|
|
|
|
|
|
|
module-touch:
|
|
|
|
touch src/Database/V1/Bloodhound/Types.hs
|
|
|
|
touch src/Database/V5/Bloodhound/Types.hs
|
|
|
|
|
2016-07-06 23:36:19 +03:00
|
|
|
upload:
|
|
|
|
stack upload --no-signature .
|