mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-12-01 07:15:24 +00:00
docs: update workspace snippet with jq instructions (#15)
This commit is contained in:
parent
b8347b5f0a
commit
4c2620cded
11
.github/workflows/workspace_snippet.sh
vendored
11
.github/workflows/workspace_snippet.sh
vendored
|
@ -21,5 +21,16 @@ http_archive(
|
||||||
strip_prefix = "${PREFIX}",
|
strip_prefix = "${PREFIX}",
|
||||||
url = "https://github.com/aspect-build/bazel-lib/archive/${TAG}.tar.gz",
|
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
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue