-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
42 lines (30 loc) · 1.28 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
.PHONY: all clean release json-transformer kafka-producer http-poster firehose-writer secret-detector span-key-extractor sample-key-extractor
PWD := $(shell pwd)
all: clean build
clean:
mvn clean
build: clean
mvn package
json-transformer:
mvn package -DfinalName=haystack-pipes-json-transformer -pl json-transformer -am
kafka-producer:
mvn package -DfinalName=haystack-pipes-kafka-producer -pl kafka-producer -am
http-poster:
mvn package -DfinalName=haystack-pipes-http-poster -pl http-poster -am
firehose-writer:
mvn package -DfinalName=haystack-pipes-firehose-writer -pl firehose-writer -am
secret-detector:
mvn package -DfinalName=haystack-pipes-secret-detector -pl secret-detector -am
span-key-extractor:
mvn package -DfinalName=span-key-extractor -pl span-key-extractor -am
sample-key-extractor:
mvn package -DfinalName=sample-key-extractor -pl sample-key-extractor -am
# build all and release
release: clean span-key-extractor json-transformer kafka-producer http-poster firehose-writer secret-detector sample-key-extractor
cd json-transformer && $(MAKE) release
cd kafka-producer && $(MAKE) release
cd http-poster && $(MAKE) release
cd firehose-writer && $(MAKE) release
cd secret-detector && $(MAKE) release
cd sample-key-extractor && $(MAKE) release
./.travis/deploy.sh