Skip to content

Commit

Permalink
Add trunk (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa authored Dec 27, 2024
1 parent 194e80b commit 31e0d9e
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 0 deletions.
1 change: 1 addition & 0 deletions TOOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
| [**shellcheck**](https://www.shellcheck.net) | `$HOME/.install-action/bin` | [GitHub Releases](/~https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0](/~https://github.com/koalaman/shellcheck/blob/master/LICENSE) |
| [**shfmt**](/~https://github.com/mvdan/sh) | `$HOME/.install-action/bin` | [GitHub Releases](/~https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](/~https://github.com/mvdan/sh/blob/master/LICENSE) |
| [**syft**](/~https://github.com/anchore/syft) | `$HOME/.install-action/bin` | [GitHub Releases](/~https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](/~https://github.com/anchore/syft/blob/main/LICENSE) |
| [**trunk**](/~https://github.com/trunk-rs/trunk) | `$CARGO_HOME/bin` | [GitHub Releases](/~https://github.com/trunk-rs/trunk/releases) | Linux, macOS, Windows | [MIT](/~https://github.com/trunk-rs/trunk/blob/main/LICENSE-MIT) OR [Apache-2.0](/~https://github.com/trunk-rs/trunk/blob/main/LICENSE-APACHE) |
| [**typos**](/~https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [GitHub Releases](/~https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [MIT](/~https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](/~https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE) |
| [**valgrind**](https://valgrind.org/) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0](https://sourceware.org/git/?p=valgrind.git;a=blob;f=COPYING;hb=HEAD) |
| [**wait-for-them**](/~https://github.com/shenek/wait-for-them) | `$CARGO_HOME/bin` | [GitHub Releases](/~https://github.com/shenek/wait-for-them/releases) | Linux, macOS, Windows | [GPL-3.0](/~https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7) |
Expand Down
341 changes: 341 additions & 0 deletions manifests/trunk.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions tools/codegen/base/trunk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"repository": "/~https://github.com/trunk-rs/trunk",
"tag_prefix": "v",
"rust_crate": "${package}",
"asset_name": "${package}-${rust_target}.tar.gz",
"version_range": ">= 0.19.0",
"platform": {
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {
"asset_name": "${package}-${rust_target}.zip"
},
"aarch64_linux_musl": {},
"aarch64_macos": {}
}
}

0 comments on commit 31e0d9e

Please sign in to comment.