Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Makefile: remove deprecated go mod usage

Nick Craig-Wood4f33d64f25b9
diff --git a/Makefile b/Makefile
index 03242ef8d..5e75a4499 100644
--- a/Makefile
+++ b/Makefile
@@ -114,21 +114,21 @@ release_dep_linux:
# Update dependencies
showupdates:
@echo "*** Direct dependencies that could be updated ***"
- @GO111MODULE=on go list -u -f '{{if (and (not (or .Main .Indirect)) .Update)}}{{.Path}}: {{.Version}} -> {{.Update.Version}}{{end}}' -m all 2> /dev/null
+ @go list -u -f '{{if (and (not (or .Main .Indirect)) .Update)}}{{.Path}}: {{.Version}} -> {{.Update.Version}}{{end}}' -m all 2> /dev/null
# Update direct dependencies only
updatedirect:
- GO111MODULE=on go get -d $$(go list -m -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' all)
- GO111MODULE=on go mod tidy
+ go get $$(go list -m -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' all)
+ go mod tidy
# Update direct and indirect dependencies and test dependencies
update:
- GO111MODULE=on go get -d -u -t ./...
- GO111MODULE=on go mod tidy
+ go get -u -t ./...
+ go mod tidy
# Tidy the module dependencies
tidy:
- GO111MODULE=on go mod tidy
+ go mod tidy
doc: rclone.1 MANUAL.html MANUAL.txt rcdocs commanddocs