Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
Tidied up Makefile comments
Browse files Browse the repository at this point in the history
  • Loading branch information
petemoore committed Mar 6, 2017
1 parent 5e58e52 commit 88823d6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Expand Up @@ -31,11 +31,11 @@ build:
rebuild: prechecks build test lint

check: test
# tests should fail if go fmt results in uncommitted code
# Tests should fail if go fmt results in uncommitted code
git status --porcelain
/bin/bash -c 'test $$(git status --porcelain | wc -l) == 0'
test:
# should run with -tags=system at some point..... i.e.:
# Should run with -tags=system at some point..... i.e.:
# go test -tags=system -v -race $$(go list ./... | grep -v /vendor/)
go test -v -race $$(go list ./... | grep -v /vendor/)

Expand All @@ -52,6 +52,5 @@ tc-worker:
lint:
go get github.com/alecthomas/gometalinter
gometalinter --install
# not enabled: aligncheck, deadcode, dupl, errcheck, gas, gocyclo, structcheck, unused, varcheck
# Disabled: testify, test (these two show test errors, hence, they run tests)
# Not enabled: aligncheck, deadcode, dupl, errcheck, gas, gocyclo, structcheck, unused, test (runs all tests), testify (runs all tests), varcheck
gometalinter --deadline=10m --line-length=180 --vendor --vendored-linters --disable-all --enable=goconst --enable=gofmt --enable=goimports --enable=golint --enable=gosimple --enable=gotype --enable=ineffassign --enable=interfacer --enable=lll --enable=misspell --enable=staticcheck --enable=unconvert --enable=vet --enable=vetshadow ./...

0 comments on commit 88823d6

Please sign in to comment.