mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Switch to gometalinter
Only small amount of required checks is enabled, plan is to enable more linters as issues are fixed in the code.
This commit is contained in:
1 parent
53e59d3765
commit
516dd7b044
80 files changed
+201
-123
No files matched your search
@@ -17,7 +17,8 @@ prepare:
|
||||
go get -u github.com/mattn/goveralls
|
||||
go get -u github.com/axw/gocov/gocov
|
||||
go get -u golang.org/x/tools/cmd/cover
|
||||
go get -u github.com/golang/lint/golint
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
gometalinter --install
|
||||
|
||||
dev:
|
||||
go get -u github.com/golang/dep/...
|
||||
@@ -35,10 +36,7 @@ coverage: coverage.out
|
||||
rm -f coverage.out
|
||||
|
||||
check:
|
||||
go vet $(ALL_PACKAGES:%=./%)
|
||||
for package in $(ALL_PACKAGES); do \
|
||||
golint ./$$package; \
|
||||
done
|
||||
gometalinter --vendor --vendored-linters --config=linter.json ./...
|
||||
|
||||
install:
|
||||
go install -v
|
||||
|
||||
Reference in new issue
Block a user