-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
48 lines (31 loc) · 865 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
default: images
MODULES = cli orchestration parser server web
.PHONY: commons modules $(MODULES)
commons:
cd commons && go install ./...
client: commons
cd client && go install ./...
all: $(MODULES)
$(MODULES):
$(MAKE) -C $@
cli: client commons
orchestration: commons
parser: commons
server: commons
devimages: server parser orchestration
images: server parser orchestration web
setup:
./scripts/dev-setup.sh
errcheck:
./scripts/errcheck.sh
push:
./scripts/push-images.sh
deploy: setup devimages web push
updatedeps:
go get -u -v ./...
test: errcheck devimages # Include errcheck in build phase
push-bintray:
./scripts/push-bintray.sh
cli-multiplatform:
GOOS=linux GOARCH=amd64 go build -o=bzk_linux_amd64 github.com/bazooka-ci/bazooka/cli/bzk
GOOS=darwin GOARCH=amd64 go build -o=bzk_darwin_amd64 github.com/bazooka-ci/bazooka/cli/bzk