-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 766 Bytes
/
Makefile
File metadata and controls
39 lines (27 loc) · 766 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
36
37
38
39
installdependencies:
./scripts/dependencies.sh
go get github.com/go-openapi/runtime
go get github.com/tylerb/graceful
go get github.com/jessevdk/go-flags
go get golang.org/x/net/context
go get golang.org/x/net/context/ctxhttp
installtestdependencies:
go get github.com/stretchr/testify/assert
igenerate:
go generate
ibuild:
go build -o codon codon.go
clean:
go clean
build: clean installdependencies igenerate ibuild
iinstall:
go install codon.go
install: clean installdependencies igenerate iinstall
itest:
./scripts/tests.sh
test: install installtestdependencies itest
docker_build:
docker build -t docker-hub.grofer.io/consumer/go-codon .
docker_push:
docker push docker-hub.grofer.io/consumer/go-codon
.PHONY: installdependencies clean