-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
64 lines (53 loc) · 1.73 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
52
53
54
55
56
57
58
59
60
61
62
63
64
# Make will use bash instead of sh
SHELL := /usr/bin/env bash
# GNU make man page
# http://www.gnu.org/software/make/manual/make.html
# For some strange reasons, intends & blanks shift in bash when calling 'make' so the formatting below should align intend at least on Bash on OSX.
.PHONY: help
help:
@echo ' '
@echo 'Setup: '
@echo ' make check Checks all requirements.'
@echo ' '
@echo 'Test: '
@echo ' make test-all Runs all API tests in order.'
@echo ' make test-collection Tests collection API. '
@echo ' make test-document Tests document API. '
@echo ' make test-graph Tests graph API. '
@echo ' make test-index Tests index API. '
@echo ' make test-kv Tests key-value API. '
@echo ' make test-query Tests query API. '
@echo ' make test-query-worker Tests query worker API. '
# "---------------------------------------------------------"
# Setup
# "---------------------------------------------------------"
.PHONY: check
check:
@source scripts/setup/check_requirements.sh
# "---------------------------------------------------------"
# Test
# "---------------------------------------------------------"
.PHONY: test-all
test-all:
@source scripts/test/test-all.sh
.PHONY: test-collection
test-collection:
@source scripts/test/test-collection.sh
.PHONY: test-document
test-document:
@source scripts/test/test-document.sh
.PHONY: test-graph
test-graph:
@source scripts/test/test-graph.sh
.PHONY: test-index
test-index:
@source scripts/test/test-index.sh
.PHONY: test-kv
test-kv:
@source scripts/test/test-kv.sh
.PHONY: test-query
test-query:
@source scripts/test/test-query.sh
.PHONY: test-query-worker
test-query-worker:
@source scripts/test/test-query-worker.sh