split out subroutine from fix.sh to makefile target

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
Madhav Jivrajani 2024-05-14 15:18:30 +05:30
parent 7b9013da46
commit b915323be6
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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 :)"