forked from RedisGraph/RedisGraph
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
46 lines (31 loc) · 833 Bytes
/
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
.PHONY: all clean package docker docker_push docker_alpine builddocs localdocs deploydocs test benchmark test_valgrind
all:
@$(MAKE) -C ./src all
clean:
@$(MAKE) -C ./src $@
clean-parser:
$(MAKE) -C ./deps/libcypher-parser distclean
clean-graphblas:
$(MAKE) -C ./deps/GraphBLAS clean
package: all
@$(MAKE) -C ./src package
docker:
@docker build . -t redislabs/redisgraph
docker_alpine:
@docker build . -f Dockerfile.alpine -t redislabs/redisgraph:alpine
docker_push: docker
@docker push redislabs/redisgraph:latest
builddocs:
@mkdocs build
localdocs: builddocs
@mkdocs serve
deploydocs: builddocs
@mkdocs gh-deploy
test:
@$(MAKE) -C ./src test
benchmark:
@$(MAKE) -C ./src benchmark
memcheck:
@$(MAKE) -C ./src memcheck
format:
astyle -Q --options=.astylerc -R --ignore-exclude-errors "./*.c,*.h,*.cpp"