mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
Fix go vet on go 1.7
This commit is contained in:
parent
ca0e25b1a1
commit
186aedda98
2
Makefile
2
Makefile
@ -34,7 +34,7 @@ quicktest:
|
||||
# Do source code quality checks
|
||||
check: rclone
|
||||
ifdef GO_LATEST
|
||||
go tool vet -printfuncs Debugf,Infof,Logf,Errorf . 2>&1 | grep -E -v ^vendor/ ; test $$? -eq 1
|
||||
go tool vet -printfuncs Debugf,Infof,Logf,Errorf . 2>&1 | grep -E -v vendor/ ; test $$? -eq 1
|
||||
errcheck $(GO_FILES)
|
||||
find . -name \*.go | grep -v /vendor/ | xargs goimports -d | grep . ; test $$? -eq 1
|
||||
go list ./... | grep -v /vendor/ | xargs -i golint {} | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
||||
|
Loading…
Reference in New Issue
Block a user