An open API service indexing awesome lists of open source software.

https://github.com/slamdev/rules_jq


https://github.com/slamdev/rules_jq

Last synced: about 1 month ago
JSON representation

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.