1stack = STACK_YAML='stack.yaml' stack
7 stack build --fast --ghc-options '-Wall -Werror'
16 stack test --test-arguments "-r"
19 stack ghci bloodhound:test:bloodhound-tests
22 ghcid -c "$(stack) ghci bloodhound:lib --test --ghci-options='-fobject-code -fno-warn-unused-do-bind' --main-is bloodhound:test:bloodhound-tests"
25 ghcid -c "$(stack) ghci bloodhound:lib --test --ghci-options='-Werror -fobject-code -fno-warn-unused-do-bind' --main-is bloodhound:test:bloodhound-tests"
30# hlint --default > .hlint.yaml
35 sos src/ -c "hlint ." -p "src/(.*)\.hs"
38 stack build --ghc-options '+RTS -A128M -RTS'
41 @echo "Make certain you have an elasticsearch instance on localhost:9200 !"
44 STACK_YAML="stack-7.8.yaml" stack build
47 STACK_YAML="stack-7.8.yaml" stack test
50 STACK_YAML="stack-7.10.yaml" stack build
53 STACK_YAML="stack-7.10.yaml" stack test
56 STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
59 STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
62 STACK_YAML="stack-8.0.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
65 STACK_YAML="stack-8.0.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
68 STACK_YAML="stack.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
71 STACK_YAML="stack.yaml" stack test --fast bloodhound:test:bloodhound-tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
74 STACK_YAML="stack-8.0.yaml" stack build
77 STACK_YAML="stack-8.2.yaml" stack build
80 touch src/Database/V1/Bloodhound/Types.hs
81 touch src/Database/V5/Bloodhound/Types.hs
84 stack upload --no-signature .
88## Run test environment
90 @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up
92## Run test environment in detach mode
94 @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up -d
96## Close test environment if run on detach mode
97compose-ES5-detach-down:
98 @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ down
100## build the docker compose images
102 @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ build
104## Spawn bash shell in ES5 test container
106 @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ exec elasticsearch1 bash
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list