Skip to content

Commit

Permalink
Add difft as tool (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-trunk-io authored Mar 21, 2024
1 parent 82587de commit 1e241f9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/difft/difft.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { toolInstallTest } from "tests";

toolInstallTest({
toolName: "difft",
toolVersion: "0.56.1",
});
22 changes: 22 additions & 0 deletions tools/difft/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 0.1
downloads:
- name: difft
downloads:
- os:
linux: unknown-linux-gnu
macos: apple-darwin
cpu:
x86_64: x86_64
arm_64: aarch64
url: https://github.com/Wilfred/difftastic/releases/download/${version}/difft-${cpu}-${os}.tar.gz
- os:
windows: pc-windows-msvc
cpu:
x86_64: x86_64
url: https://github.com/Wilfred/difftastic/releases/download/${version}/difft-${cpu}-${os}.zip
tools:
definitions:
- name: difft
download: difft
known_good_version: 0.56.1
shims: [difft]

0 comments on commit 1e241f9

Please sign in to comment.