git.iko.soy/typeable/bloodhound
on df021ca help sign in
78 lines 1.9 kB history raw
1stack = STACK_YAML='stack.yaml' stack
3build:
4 stack build
6build-validate:
7 stack build --fast --ghc-options '-Werror'
9ghci:
10 stack ghci
12test: echo-warn
13 stack test
15test-rerun: echo-warn
16 stack test --test-arguments "-r"
18test-ghci:
19 stack ghci bloodhound:test:bloodhound-tests
21ghcid:
22 ghcid -c "$(stack) ghci bloodhound:lib --test --ghci-options='-fobject-code -fno-warn-unused-do-bind' --main-is bloodhound:test:bloodhound-tests"
24ghcid-validate:
25 ghcid -c "$(stack) ghci bloodhound:lib --test --ghci-options='-Werror -fobject-code -fno-warn-unused-do-bind' --main-is bloodhound:test:bloodhound-tests"
27weeder:
28 weeder . --build
30# hlint --default > .hlint.yaml
31hlint:
32 hlint .
34hlint-watch:
35 sos src/ -c "hlint ." -p "src/(.*)\.hs"
37mod-build:
38 stack build --ghc-options '+RTS -A128M -RTS'
40echo-warn:
41 echo "Make certain you have an elasticsearch instance on localhost:9200 !"
437.8-build:
44 STACK_YAML="stack-7.8.yaml" stack build
467.8-test: echo-warn
47 STACK_YAML="stack-7.8.yaml" stack test
497.10-build:
50 STACK_YAML="stack-7.10.yaml" stack build
527.10-test: echo-warn
53 STACK_YAML="stack-7.10.yaml" stack test
557.10-test-ES1:
56 STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
587.10-test-ES5:
59 STACK_YAML="stack-7.10.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
618.0-test-ES1:
62 STACK_YAML="stack.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES1
648.0-test-ES5:
65 STACK_YAML="stack-8.0.yaml" stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:ES5
678.0-build:
68 STACK_YAML="stack-8.0.yaml" stack build
708.2-build:
71 STACK_YAML="stack-8.2.yaml" stack build
73module-touch:
74 touch src/Database/V1/Bloodhound/Types.hs
75 touch src/Database/V5/Bloodhound/Types.hs
77upload:
78 stack upload --no-signature .