distrobuilder/Makefile
Stéphane Graber 558f700301
tests: Run deadcode and vet
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-02-20 03:00:19 -05:00

16 lines
326 B
Makefile

.PHONY: default check
default:
gofmt -s -w .
go get -t -v -d ./...
go install -v ./...
@echo "distrobuilder built successfully"
check: default
go get -v -x github.com/remyoudompheng/go-misc/deadcode
go get -v -x github.com/golang/lint/golint
go test -v ./...
golint -set_exit_status ./...
deadcode ./
go vet ./...