From b915323be60106908c946531a6dfe884fc5cf626 Mon Sep 17 00:00:00 2001 From: Madhav Jivrajani Date: Tue, 14 May 2024 15:18:30 +0530 Subject: [PATCH] split out subroutine from fix.sh to makefile target Signed-off-by: Madhav Jivrajani --- Makefile | 2 +- scripts/fix.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 50b9a31ff..ab673c690 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ verify: verify-gofmt verify-bom verify-lint verify-dep verify-shellcheck verify- verify-govet-shadow verify-markdown-marker verify-go-versions .PHONY: fix -fix: fix-bom fix-lint fix-yamllint +fix: fix-bom fix-lint fix-yamllint sync-toolchain-directive ./scripts/fix.sh .PHONY: verify-gofmt diff --git a/scripts/fix.sh b/scripts/fix.sh index 165e201bf..fc4b50fcc 100755 --- a/scripts/fix.sh +++ b/scripts/fix.sh @@ -36,7 +36,4 @@ run_for_modules run ${GO_CMD} fmt || exit 2 run_for_module tests bom_fix || exit 2 bash_ws_fix || exit 2 -log_callout "Syncing go toolchain directives" -run ./scripts/sync_go_toolchain_directive.sh || exit 2 - log_success -e "\\nSUCCESS: etcd code is fixed :)"