From 6d5cc50d3eaf01919b5e49e689eef4c7f3fc2f32 Mon Sep 17 00:00:00 2001 From: Max Bo Date: Thu, 5 Sep 2024 04:12:17 +1000 Subject: [PATCH] Include `http_archive` and `maybe` for `WORKSPACE` in README (#348) --- 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}"