-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
36 lines (23 loc) · 917 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
.PHONY: all build_transformer build_aggregator span-timeseries-transformer timeseries-aggregator release
PWD := $(shell pwd)
MAVEN := ./mvnw
clean:
${MAVEN} clean
build: clean
${MAVEN} install package
all: clean build_transformer build_aggregator span-timeseries-transformer timeseries-aggregator
report-coverage:
${MAVEN} scoverage:report-only
build_transformer:
${MAVEN} package -DfinalName=haystack-span-timeseries-transformer -pl span-timeseries-transformer -am
span-timeseries-transformer:
$(MAKE) -C span-timeseries-transformer all
timeseries-aggregator:
$(MAKE) -C timeseries-aggregator all
build_aggregator:
${MAVEN} package -DfinalName=haystack-timeseries-aggregator -pl timeseries-aggregator -am
# build all and release
release: clean build_transformer build_aggregator
cd span-timeseries-transformer && $(MAKE) release
cd timeseries-aggregator && $(MAKE) release
./.travis/deploy.sh