From 89ee2e5c2cd4868fe871a7e262900f7b5d48f8bc Mon Sep 17 00:00:00 2001 From: Max Bo Date: Sun, 1 Sep 2024 14:13:17 +1000 Subject: [PATCH] Include `http_archive` and `maybe` for `WORKSPACE` in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0f37b935..a53d8afa 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ In your `WORKSPACE` file. Which is a file at the top directory of every bazel repo: ```starlark +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + # You don't need these variables, but are useful for configurability. # Feel free to hardcode these values in the maybe http_archive below. rules_hdl_git_hash = "{LATEST_HASH}"