makefile: modernized check-fmt

This commit is contained in:
Michał Matczuk
2018-05-22 14:48:36 +02:00
parent cca99d4a42
commit 7999b5dd4e

View File

@@ -5,7 +5,7 @@ check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-m
.PHONY: .check-fmt
.check-fmt:
@gofmt -s -l . | ifne false
@go fmt ./... | tee /dev/stderr | ifne false
.PHONY: .check-vet
.check-vet: