forked from bitemyapp/bloodhound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (35 loc) · 1.23 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 .