Skip to content

Commit

Permalink
Include http_archive and maybe for WORKSPACE in README (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellBo authored Sep 4, 2024
1 parent 0dacd9a commit 6d5cc50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6d5cc50

Please sign in to comment.