mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
99c7d373e3
closes #3571
39 lines
902 B
YAML
39 lines
902 B
YAML
distributable:
|
|
url: https://github.com/reacherhq/check-if-email-exists/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/check_if_email_exists
|
|
|
|
versions:
|
|
github: reacherhq/check-if-email-exists
|
|
strip: /v/
|
|
|
|
dependencies:
|
|
openssl.org: ^1.1
|
|
|
|
build:
|
|
working-directory: cli
|
|
dependencies:
|
|
rust-lang.org: '>=1.65'
|
|
rust-lang.org/cargo: '*'
|
|
perl.org: '*'
|
|
linux:
|
|
gnu.org/make: '*'
|
|
script:
|
|
# 0.9.0 forgot to bump the version
|
|
- run: |
|
|
sed -i.bak -e 's/0\.8\.32/{{version}}/' Cargo.toml
|
|
rm Cargo.toml.bak
|
|
if: =0.9.0
|
|
- run: |
|
|
sed -i.bak -e 's/0\.8\.32/{{version}}/' Cargo.toml
|
|
rm Cargo.toml.bak
|
|
working-directory: ../core
|
|
if: =0.9.0
|
|
- cargo install --path . --root {{prefix}}
|
|
|
|
test:
|
|
script:
|
|
- test "$(check_if_email_exists --version)" = "check-if-email-exists-cli {{version}}"
|