distributable:
  url: https://github.com/MarkusZoppelt/portfolio_rs/archive/refs/tags/v{{ version }}.tar.gz
  strip-components: 1
  ref: v{{version}}}

versions:
  github: MarkusZoppelt/portfolio_rs

provides:
  - bin/portfolio_rs

build:
  dependencies:
    rust-lang.org: '>=1.60'
    rust-lang.org/cargo: '*'
  script:
    cargo install --locked --path . --root {{prefix}}

test:
  script: |
    portfolio_rs -h
