-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (28 loc) · 1 KB
/
Copy pathMakefile
File metadata and controls
45 lines (28 loc) · 1 KB
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
.PHONY: build build-raw clean test
DOCKER?=docker
build-raw: artifacts builder cache kickoff deployer
build: docker-build-artifacts docker-build-builder docker-build-cache docker-build-kickoff docker-build-deployer
docker-build-artifacts:
$(DOCKER) build -f Dockerfile.artifacts .
docker-build-builder:
$(DOCKER) build -f Dockerfile.builder .
docker-build-cache:
$(DOCKER) build -f Dockerfile.cache .
docker-build-kickoff:
$(DOCKER) build -f Dockerfile.kickoff .
docker-build-deployer:
$(DOCKER) build -f Dockerfile.deployer .
test:
go test ./...
clean:
rm -rf artifacts builder cache kickoff deployer
artifacts: cmd/artifacts internal/*/*.go internal/*/*/*.go
go build ./cmd/artifacts
builder: cmd/builder internal/*/*.go internal/*/*/*.go
go build ./cmd/builder
cache: cmd/cache internal/*/*.go internal/*/*/*.go
go build ./cmd/cache
kickoff: cmd/kickoff internal/*/*.go internal/*/*/*.go
go build ./cmd/kickoff
deployer: cmd/deployer internal/*/*.go internal/*/*/*.go
go build ./cmd/deployer