Skip to content

Commit a2ae072

Browse files
committed
👷 Upgrade bazel and its deps
1 parent 28ea936 commit a2ae072

File tree

5 files changed

+20
-14
lines changed

5 files changed

+20
-14
lines changed

.bazelignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
.idea
33
# Ignore all bazel-* symlinks. There is no full list since this can change
44
# based on the name of the directory bazel is cloned into.
5-
bazel-*
5+
bazel-bin
6+
bazel-out
7+
bazel-testlogs
8+
bazel-yutu
69
# Bazelisk version file
710
.bazelversion
811

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.2.1
1+
8.3.1

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Here are some commands which may useful.
2323
## install goreleaser: https://goreleaser.com/install
2424
❯ GITHUB_REPOSITORY=eat-pray-ai/yutu goreleaser build --clean --auto-snapshot
2525
# or with bazel
26+
❯ bazel mod tidy
2627
❯ bazel run //:gazelle # (re)generate BUILD files
2728
## update go.mod, go.sum, and use_repo in MODULE.bazel
28-
❯ bazel run @rules_go//go -- mod tidy -v
29+
❯ bazel run @rules_go//go -- mod tidy -v
2930
❯ bazel build //:yutu # build the binary for the current platform
3031
❯ bazel build //... # build all targets
3132
❯ bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //:yutu

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Module dependencies for the yutu project."""
22

3-
bazel_dep(name = "rules_go", version = "0.56.1")
3+
bazel_dep(name = "rules_go", version = "0.57.0")
44
bazel_dep(name = "gazelle", version = "0.45.0")
55

66
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")

MODULE.bazel.lock

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)