From ffa0d4f978cb0e285d88333ce7b2a60f83da1e0b Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Sat, 3 Aug 2024 19:31:29 +0200 Subject: [PATCH] Use go.sum as a target for make to download and clean dependencies --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86337f6..a16ab85 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,9 @@ help: ## Help target that shows this message. all: fedbox fedboxctl ## -download: ## Downloads dependencies and tidies the go.mod file. +download: go.sum ## Downloads dependencies and tidies the go.mod file. + +go.sum: go.mod $(GO) mod download all $(GO) mod tidy -- 2.45.2