https://github.com/slamdev/rules_yq
https://github.com/slamdev/rules_yq
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/slamdev/rules_yq
- Owner: slamdev
- License: apache-2.0
- Created: 2022-01-19T10:14:31.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T11:53:06.000Z (over 1 year ago)
- Last Synced: 2025-01-29T14:45:10.777Z (about 1 year ago)
- Language: Starlark
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bazel rules for [yq](https://github.com/mikefarah/yq)
## Installation
Include this in your WORKSPACE file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "slamdev_rules_yq",
url = "https://github.com/slamdev/rules_yq/releases/download/0.0.0/slamdev_rules_yq-v0.0.0.tar.gz",
sha256 = "",
)
load("@slamdev_rules_yq//yq:repositories.bzl", "yq_register_toolchains", "rules_yq_dependencies")
rules_yq_dependencies()
yq_register_toolchains(
name = "yq4_16_2",
yq_version = "4.16.2",
)
```
> note, in the above, replace the version and sha256 with the one indicated
> in the release notes for rules_yq.