pantry/projects/bore.pub/package.yml

24 lines
506 B
YAML
Raw Normal View History

distributable:
url: https://github.com/ekzhang/bore/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/bore
versions:
github: ekzhang/bore
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
# The --locked flag was causing trouble:
# It complained about proc-macro2 (proc_macro_span_shrink)
- cargo install --path . --root {{prefix}}
test:
script:
- test "$(bore --version)" = "bore-cli {{version}}"