Add validate-golint target and script …
… and *lint* the latest piece of code. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
7607eb173b
commit
40391c57c2
8 changed files with 78 additions and 33 deletions
5
Makefile
5
Makefile
|
@ -40,7 +40,7 @@ test-integration: build
|
|||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh generate test-integration
|
||||
|
||||
validate: build
|
||||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh validate-gofmt validate-govet
|
||||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh validate-gofmt validate-govet validate-golint
|
||||
|
||||
validate-gofmt: build
|
||||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh validate-gofmt
|
||||
|
@ -48,6 +48,9 @@ validate-gofmt: build
|
|||
validate-govet: build
|
||||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh validate-govet
|
||||
|
||||
validate-golint: build
|
||||
$(DOCKER_RUN_TRAEFIK) ./script/make.sh validate-golint
|
||||
|
||||
build: dist
|
||||
docker build -t "$(TRAEFIK_DEV_IMAGE)" -f build.Dockerfile .
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue