Primary install path:
cargo install intentdiff --locked
Secondary package-manager shims:
npm install -g intentdiff
python -m pip install intentdiff
The npm and PyPI packages are installer shims. They try to download the matching GitHub release archive, verify checksums.txt when present, cache the native binary, and fall back to cargo install intentdiff --locked if no native archive is available.
Native GitHub release archives are built by .github/workflows/release-binaries.yml for:
x86_64-unknown-linux-gnuaarch64-apple-darwinx86_64-apple-darwinx86_64-pc-windows-msvcThe shims support:
INTENTDIFF_BINARY=/path/to/intentdiff to bypass installer logic.INTENTDIFF_VERSION=0.1.0 to select the native release version.Use the repository as an action:
name: intentdiff
on:
pull_request:
jobs:
review-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: harivilasp/intentdiff@v0.1.0
with:
args: --check --meaningful-only main...HEAD
The action defaults to --check --meaningful-only.
intentdiff.vX.Y.Z tag so GitHub release archives and checksums.txt are created.