mirror of
https://github.com/rclone/rclone
synced 2025-01-03 03:46:24 +01:00
Tidy up Makefile to get rid of vendor directory avoidance workarounds
This commit is contained in:
parent
38b85e94ea
commit
006b296c34
4
Makefile
4
Makefile
@ -47,9 +47,9 @@ endif
|
|||||||
check: rclone
|
check: rclone
|
||||||
ifdef GO_LATEST
|
ifdef GO_LATEST
|
||||||
go vet $(BUILDTAGS) -printfuncs Debugf,Infof,Logf,Errorf ./...
|
go vet $(BUILDTAGS) -printfuncs Debugf,Infof,Logf,Errorf ./...
|
||||||
errcheck $(BUILDTAGS) $(GO_FILES)
|
errcheck $(BUILDTAGS) ./...
|
||||||
find . -name \*.go | grep -v /vendor/ | xargs goimports -d | grep . ; test $$? -eq 1
|
find . -name \*.go | grep -v /vendor/ | xargs goimports -d | grep . ; test $$? -eq 1
|
||||||
go list ./... | grep -v /vendor/ | xargs -n1 golint | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
go list ./... | xargs -n1 golint | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
||||||
else
|
else
|
||||||
@echo Skipping tests as not on Go stable
|
@echo Skipping tests as not on Go stable
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user