This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 1594dfc2f81bd90076792aad247f5d58c09018e0
Author: Sebastian Rühl <[email protected]>
AuthorDate: Fri Nov 14 13:40:05 2025 +0100

    chore(build): add a go mod tidy to Makefile
---
 plc4go/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/plc4go/Makefile b/plc4go/Makefile
index 99243a1047..297a036ba3 100644
--- a/plc4go/Makefile
+++ b/plc4go/Makefile
@@ -72,10 +72,15 @@ exec:
 clean:
        @-$(MAKE) go-clean
 
-sync-code: go-generate go-mocks go-fmt
+sync-code: go-mod-tidy go-generate go-mocks go-fmt
 
 go-compile: go-get go-build
 
+go-mod-tidy:
+       @echo "  > go tidy..."
+       @GOPATH=$(GOPATH) GOBIN=$(GOBIN) go mod tidy
+       @GOPATH=$(GOPATH) GOBIN=$(GOBIN) go mod tidy
+
 go-build: go-fmt
        @echo "  >  Building binary..."
        $(MVNBIN) compile

Reply via email to