mirror of
https://github.com/go-acme/lego.git
synced 2024-12-04 19:45:28 +02:00
6004e599ed
* feat: add dep configuration files. * chore: add vendor folder. * refactor: update Dockerfile. * review: remove git from Dockerfile. * review: remove RUN apk. * review: dep status. * feat: added .dockerignore
26 lines
444 B
Makefile
26 lines
444 B
Makefile
.PHONY: all
|
|
|
|
GOFILES := $(shell go list -f '{{range $$index, $$element := .GoFiles}}{{$$.Dir}}/{{$$element}}{{"\n"}}{{end}}' ./... | grep -v '/vendor/')
|
|
|
|
default: clean checks test build
|
|
|
|
clean:
|
|
rm -rf dist/ builds/ cover.out
|
|
|
|
build: clean
|
|
go build
|
|
|
|
|
|
dependencies:
|
|
dep ensure -v
|
|
|
|
test: clean
|
|
go test -v -cover ./...
|
|
|
|
checks: check-fmt
|
|
gometalinter ./...
|
|
|
|
check-fmt: SHELL := /bin/bash
|
|
check-fmt:
|
|
diff -u <(echo -n) <(gofmt -d $(GOFILES))
|