Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stackb/bazel-aquery-differ
Bazel aquery differ tool
https://github.com/stackb/bazel-aquery-differ
Last synced: 3 days ago
JSON representation
Bazel aquery differ tool
- Host: GitHub
- URL: https://github.com/stackb/bazel-aquery-differ
- Owner: stackb
- License: apache-2.0
- Created: 2022-12-23T03:22:26.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T23:25:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T17:39:22.101Z (11 days ago)
- Language: Go
- Size: 72.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bazel - stackb/bazel-aquery-differ - View differences between two different aquery invocations. (Tooling / General)
README
[![CI](https://github.com/stackb/bazel-aquery-differ/actions/workflows/ci.yaml/badge.svg)](https://github.com/stackb/bazel-aquery-differ/actions/workflows/ci.yaml)
# bazel-aquery-differ
This is a port of
to golang.
## Installation
Download and unzip a release artifact, or clone and `bazel build //cmd/aquerydiff`.
## Usage
```bash
aquerydiff --before --after --report_dir
```You can generate the `` (and ``) using:
```bash
bazel aquery //pkg:target-name --output jsonproto > before.json
bazel aquery //pkg:target-name --output textproto > before.textproto
bazel aquery //pkg:target-name --output proto > before.pb
```> The file extensions are relevant; the proto decoder will be `protojson` if
`.json`, `prototext` if `.textproto` and `proto` otherwise.An HTML report and accessory files will be written to the given `--report_dir`,
which you could serve as follows:```
(cd && python3 -m http.server 8000) &
```> Report will look something like: