Files
traefik-whoami/Makefile
Fernandez Ludovic affedf56a2 chore: add linter.
2019-09-17 01:18:37 +02:00

16 lines
245 B
Makefile

.PHONY: default build image check
default: check test build
test:
go test -v -cover ./...
build:
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o whoami
image:
docker build -t containous/whoami .
check:
golangci-lint run