+doctave -- A batteries-included developer documentation site generator (#3097)

* +doctave -- A batteries-included developer documentation site generator

* chore: try with --locked flag
This commit is contained in:
Kevin Chen 2023-08-26 03:53:54 -04:00 committed by GitHub
parent c32d55be24
commit d1c057f762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/Doctave/doctave/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/doctave
versions:
github: Doctave/doctave
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
- cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(doctave --version)" = "Doctave {{version}}"