docs: update workspace snippet with jq instructions (#15)

This commit is contained in:
Derek Cormier 2021-12-15 11:51:29 -08:00 committed by GitHub
parent b8347b5f0a
commit 4c2620cded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -21,5 +21,16 @@ http_archive(
strip_prefix = "${PREFIX}",
url = "https://github.com/aspect-build/bazel-lib/archive/${TAG}.tar.gz",
)
load("@aspect_bazel_lib", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
# Optional: register the following toolchain to use jq
load("@aspect_bazel_lib", "register_jq_toolchains")
register_jq_toolchains(version = "1.6")
\`\`\`
EOF