kamilsk / semaphore

🚦 Semaphore pattern implementation with timeout of lock/unlock operations.
MIT License
103 stars 12 forks source link

fix check-code-quality #123

Closed kamilsk closed 6 years ago

kamilsk commented 6 years ago
.PHONY: check-code-quality
check-code-quality: ARGS = \
    --exclude=".*_test\.go:.*error return value not checked.*\(errcheck\)$$" \
    --exclude="duplicate of.*_test.go.*\(dupl\)$$" \
    --vendor --deadline=2m ./...
check-code-quality: docker-tool-gometalinter

also define correct deadline: time make check-code-quality

blocked by:

kamilsk commented 6 years ago

extend git ignore

# go test and code quality report
*.out

add code quality report

.PHONY: code-quality-report
code-quality-report:
    time make check-code-quality | tail +7 | tee report.out | pbcopy