mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
split out subroutine from fix.sh to makefile target
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
parent
7b9013da46
commit
b915323be6
2
Makefile
2
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
|
||||
|
@ -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 :)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user