add undocker
target
This commit is contained in:
parent
4a611a9699
commit
86b7c30680
7
Makefile
7
Makefile
@ -1,9 +1,14 @@
|
||||
GODEPS = $(shell git ls-files '*.go' go.mod go.sum)
|
||||
|
||||
undocker: $(GODEPS)
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -cover ./...
|
||||
|
||||
.INTERMEDIATE: coverage.out
|
||||
coverage.out: $(shell git ls-files '*.go')
|
||||
coverage.out: $(GODEPS)
|
||||
go test -coverprofile $@ ./...
|
||||
|
||||
coverage.html: coverage.out
|
||||
|
Loading…
Reference in New Issue
Block a user