-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
40 lines (27 loc) · 851 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
.PHONY: install docker test
org="jazzl0ver/"
version="2.0"
catalogversion="2.0"
all: install
cli:
cd syssvc/firecamp-service-cli; go install; cd -
cd $(GOPATH)/bin; tar -zcf firecamp-service-cli.tgz firecamp-service-cli; cd -
install:
./scripts/install.sh
s3:
./scripts/update-s3-bucket.sh $(org) $(version)
docker: install
./scripts/builddocker.sh $(org) $(version) $(catalogversion) all
pluginimages:
./scripts/builddocker.sh $(org) $(version) $(catalogversion) pluginimages
manageimages:
./scripts/builddocker.sh $(org) $(version) $(catalogversion) manageimages
catalogimages:
./scripts/builddocker.sh $(org) $(version) $(catalogversion) catalogimages
test:
./scripts/gotest.sh
clean:
-rm $(GOPATH)/bin/firecamp* || true
-rm -fr build || true
cleanall: clean
-rm -fr $(GOPATH)/pkg/linux_amd64/github.com/jazzl0ver/firecamp