diff --git a/projects/lychee.cli.rs/package.yml b/projects/lychee.cli.rs/package.yml new file mode 100644 index 00000000..340323e0 --- /dev/null +++ b/projects/lychee.cli.rs/package.yml @@ -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}} \ No newline at end of file diff --git a/projects/lychee.cli.rs/test.md b/projects/lychee.cli.rs/test.md new file mode 100644 index 00000000..1feb409c --- /dev/null +++ b/projects/lychee.cli.rs/test.md @@ -0,0 +1 @@ +[This](https://example.com) is an example.