mirror of
https://github.com/typeable/bloodhound.git
synced 2024-11-29 12:54:15 +03:00
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
build:
|
|
stack build
|
|
|
|
mod-build:
|
|
stack build --ghc-options '+RTS -A128M -RTS'
|
|
|
|
echo-warn:
|
|
echo "Make certain you have an elasticsearch instance on localhost:9200 !"
|
|
|
|
test: echo-warn
|
|
stack test
|
|
|
|
7.8-build:
|
|
STACK_YAML="stack-7.8.yaml" stack build
|
|
|
|
7.8-test: echo-warn
|
|
STACK_YAML="stack-7.8.yaml" stack test
|
|
|
|
7.10-build:
|
|
STACK_YAML="stack-7.10.yaml" stack build
|
|
|
|
7.10-test: echo-warn
|
|
STACK_YAML="stack-7.10.yaml" stack test
|
|
|
|
7.10-test-ES1:
|
|
STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
|
|
|
|
7.10-test-ES5:
|
|
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
|
|
|
|
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
|
|
|
|
ghci:
|
|
stack ghci
|
|
|
|
upload:
|
|
stack upload --no-signature .
|