https://github.com/slamdev/rules_jq
https://github.com/slamdev/rules_jq
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/slamdev/rules_jq
- Owner: slamdev
- License: apache-2.0
- Created: 2022-03-26T22:10:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T17:37:27.000Z (over 1 year ago)
- Last Synced: 2025-01-29T14:45:07.285Z (about 1 year ago)
- Language: Starlark
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bazel rules for [jq](https://github.com/jqlang/jq)
## Installation
Include this in your WORKSPACE file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "slamdev_rules_jq",
url = "https://github.com/slamdev/rules_jq/releases/download/0.0.0/slamdev_rules_jq-v0.0.0.tar.gz",
sha256 = "",
)
load("@slamdev_rules_jq//jq:repositories.bzl", "jq_register_toolchains", "rules_jq_dependencies")
rules_jq_dependencies()
jq_register_toolchains(
name = "jq1_7",
jq_version = "1.7",
)
```
> note, in the above, replace the version and sha256 with the one indicated
> in the release notes for rules_jq.