forked from RedisTimeSeries/RedisTimeSeries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
82 lines (54 loc) · 1.15 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
ROOT=.
MK_ALL_TARGETS=bindirs deps build package
ifeq ($(wildcard $(ROOT)/deps/readies/*),)
___:=$(shell git submodule update --init --recursive &> /dev/null)
endif
include $(ROOT)/deps/readies/mk/main
MK_CUSTOM_CLEAN=1
MK_CUSTOM_HELP=1
BINDIR=$(BINROOT)
include $(MK)/defs
include $(MK)/rules
.PHONY: all setup fetch build clean deps test coverage upload-cov pack upload-release upload-artifacts help
all: fetch deps build
help:
@$(MAKE) -C src help
setup:
@echo Setting up system...
@./sbin/setup
fetch:
-@git submodule update --init --recursive
build:
@$(MAKE) -C src all -j $(NCPUS)
clean:
@$(MAKE) -C src clean
deps:
@$(MAKE) -C src deps
lint:
@$(MAKE) -C src lint
format:
@$(MAKE) -C src format
test:
@$(MAKE) -C src test
unit_tests:
@$(MAKE) -C src unit_tests
flow_tests:
@$(MAKE) -C src flow_tests
coverage:
@$(MAKE) -C src coverage
upload-cov:
@$(MAKE) -C src upload-cov
pack:
@$(MAKE) -C src pack
upload-release:
@$(MAKE) -C src upload-release
upload-artifacts:
@$(MAKE) -C src upload-artifacts
run:
@$(MAKE) -C src run
benchmark:
@$(MAKE) -C src benchmark
docker:
@$(MAKE) -C src docker
# deploy:
# @make -C src deploy