From 3a1702e56f76baf982d802ec8025f838a9dd8bd2 Mon Sep 17 00:00:00 2001 From: Manu NALEPA Date: Fri, 14 Feb 2025 16:00:10 +0100 Subject: [PATCH] Fixed the `bazel run //:gazelle` command in `DEPENDENCIES.md`. (#14934) --- DEPENDENCIES.md | 2 +- changelog/manu_fix_dependencies_doc.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelog/manu_fix_dependencies_doc.md diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 721b295207..6b948627a2 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -55,7 +55,7 @@ bazel build //beacon-chain --config=release ## Adding / updating dependencies 1. Add your dependency as you would with go modules. I.e. `go get ...` -1. Run `bazel run //:gazelle -- update-repos -from_file=go.mod` to update the bazel managed dependencies. +1. Run `bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%prysm_deps -prune=true` to update the bazel managed dependencies. Example: diff --git a/changelog/manu_fix_dependencies_doc.md b/changelog/manu_fix_dependencies_doc.md new file mode 100644 index 0000000000..0618b9fc2d --- /dev/null +++ b/changelog/manu_fix_dependencies_doc.md @@ -0,0 +1,2 @@ +### Fixed +- Fixed the `bazel run //:gazelle` command in `DEPENDENCIES.md`. \ No newline at end of file