makefile: not use bazel_parpare in check-bazel-prepare (#43831)
This commit is contained in:
4
Makefile
4
Makefile
@ -427,6 +427,10 @@ generate_grafana_scripts:
|
||||
|
||||
bazel_ci_prepare:
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) run $(BAZEL_CMD_CONFIG) //:gazelle
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) run $(BAZEL_CMD_CONFIG) //:gazelle -- update-repos -from_file=go.mod -to_macro DEPS.bzl%go_deps -build_file_proto_mode=disable
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) run $(BAZEL_CMD_CONFIG) \
|
||||
--run_under="cd $(CURDIR) && " \
|
||||
//tools/tazel:tazel
|
||||
|
||||
bazel_prepare:
|
||||
bazel run //:gazelle
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
before_checksum=`find . -type f \( -name *.bazel -o -name *.bzl \) -exec md5sum {} \;| sort -k 2`
|
||||
make bazel_prepare
|
||||
make bazel_ci_prepare
|
||||
after_checksum=`find . -type f \( -name *.bazel -o -name *.bzl \) -exec md5sum {} \;| sort -k 2`
|
||||
if [ "$before_checksum" != "$after_checksum" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user