-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 717 Bytes
/
Makefile
File metadata and controls
35 lines (25 loc) · 717 Bytes
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
.PHONY: build
include version.properties
VER=${VERSION}
ifdef CHANGE_ID
VER=PR-${CHANGE_ID}-SNAPSHOT
else
VER=${VERSION}.${BUILD_NUMBER}
endif
test:
find . -name go.mod -execdir go test ./... -v -coverprofile=coverage.txt -covermode=atomic \;
build-local-mtls:
@(cd cmd/mtls && make build-local)
build-local-authorizer:
@(cd authorizer && make build-local)
build-local-api:
@(cd cmd/mockapi && make build-local)
build-local: build-local-authorizer build-local-application build-local-alb-proxy
.PHONY: build build-local test test-opa generate
build:
echo "Building authorizer"
@(cd authorizer && make build)
echo "Building mock-api"
@(cd cmd/mockapi && make build)
docs:
godoc -http=localhost:6060