mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/lychee.cli.rs/package.yml
new file: projects/lychee.cli.rs/test.md
This commit is contained in:
parent
7725ed7fb7
commit
b3d142f470
2 changed files with 29 additions and 0 deletions
28
projects/lychee.cli.rs/package.yml
Normal file
28
projects/lychee.cli.rs/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: git+https://github.com/lycheeverse/lychee.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: lycheeverse/lychee
|
||||
|
||||
dependencies:
|
||||
openssl.org: '>=1.1'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: ^1.65
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
- cargo install $ARGS
|
||||
env:
|
||||
ARGS:
|
||||
- --locked
|
||||
- --root={{prefix}}
|
||||
- --path=lychee-bin
|
||||
|
||||
provides:
|
||||
- bin/lychee
|
||||
|
||||
test:
|
||||
- lychee test.md | grep '0 Errors'
|
||||
- lychee --version | grep {{version}}
|
1
projects/lychee.cli.rs/test.md
Normal file
1
projects/lychee.cli.rs/test.md
Normal file
|
@ -0,0 +1 @@
|
|||
[This](https://example.com) is an example.
|
Loading…
Reference in a new issue