forked from TrueCloudLab/rclone
Makefile: avoid using deprecated xargs arguments
This commit is contained in:
parent
49816e67bd
commit
9a62d2f8ad
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -48,7 +48,7 @@ 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) $(GO_FILES)
|
||||||
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 -i golint {} | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
go list ./... | grep -v /vendor/ | 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 a new issue