From 4f33d64f25b9ead7b69162b2772a7df54dea0df4 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 26 Sep 2025 12:21:12 +0100 Subject: [PATCH] Makefile: remove deprecated go mod usage --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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