-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Pact Verifier CLI plugin | ||
|
||
[Pact Verifier CLI](https://github.com/pact-foundation/pact-reference/tree/master/rust/pact_verifier_cli) plugin for [proto](https://github.com/moonrepo/proto). | ||
|
||
## Installation | ||
|
||
This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based `.prototools` by running: | ||
|
||
### Global install | ||
|
||
```shell | ||
proto plugin add pact_verifier_cli "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pact_verifier_cli/plugin.toml" --global | ||
proto install pact_verifier_cli | ||
``` | ||
|
||
### Per-project install | ||
|
||
```shell | ||
proto plugin add pact_verifier_cli "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pact_verifier_cli/plugin.toml" | ||
proto pin pact_verifier_cli latest --resolve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name = "Pact Verifier CLI" | ||
type = "cli" | ||
|
||
[resolve] | ||
git-url = "https://github.com/pact-foundation/pact-reference" | ||
version-pattern = "^pact_verifier_cli-v((?<major>[0-9]+)\\.(?<minor>[0-9]+)\\.(?<patch>[0-9]+))" | ||
|
||
[platform.linux] | ||
download-file = "pact_verifier_cli-linux-{arch}{libc}.gz" | ||
checksum-file = "pact_verifier_cli-linux-{arch}{libc}.gz.sha256" | ||
bin-path = "pact_verifier_cli-linux-{arch}{libc}" | ||
|
||
[platform.macos] | ||
download-file = "pact_verifier_cli-osx-{arch}.gz" | ||
checksum-file = "pact_verifier_cli-osx-{arch}.gz.sha256" | ||
bin-path = "pact_verifier_cli-osx-{arch}" | ||
|
||
[platform.windows] | ||
download-file = "pact_verifier_cli-windows-{arch}.exe.gz" | ||
checksum-file = "pact_verifier_cli-windows-{arch}.exe.gz.sha256" | ||
bin-path = "pact_verifier_cli-windows-{arch}" | ||
|
||
[install] | ||
download-url = "https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v{version}/{download_file}" | ||
checksum-url = "https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v{version}/{checksum_file}" | ||
|
||
[install.libc] | ||
gnu = "" | ||
musl = "-musl" |