Skip to content

Commit

Permalink
Add jd
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Sep 9, 2024
1 parent 5757b50 commit a86e6cd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions jd.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description = "JSON diff and patch"
binaries = ["jd"]
source = "https://github.com/josephburnett/jd/releases/download/v${version}/jd-${arch}-${os}"

on "unpack" {
rename {
from = "${root}/jd-${arch}-${os}"
to = "${root}/jd"
}

chmod {
file = "${root}/jd"
mode = 755
}
}

version "1.9.1" {
auto-version {
github-release = "josephburnett/jd"
}
}

sha256sums = {
"https://github.com/josephburnett/jd/releases/download/v1.9.1/jd-amd64-linux": "382a69c0720a94515cb07bf8e0b89fbfa577140fc92e23b128455b5ae682e523",
"https://github.com/josephburnett/jd/releases/download/v1.9.1/jd-amd64-darwin": "7cda0be31188f8388ba537161a4f3aaaaba58bca5707be86980de759ae90c2b7",
"https://github.com/josephburnett/jd/releases/download/v1.9.1/jd-arm64-darwin": "8f34988fc77c577157b57ad22b8e3624f033396715cae208cc368eeb7f6d6823",
}

0 comments on commit a86e6cd

Please sign in to comment.