pantry/projects/cocogitto.io/package.yml
Kevin Chen 7836137f38
cocogitto -- Conventional Commits toolbox (#3095)
* cocogitto -- Conventional Commits toolbox

* refactor: rename package to cocogitto.io
2023-08-26 09:30:17 -04:00

23 lines
476 B
YAML

distributable:
url: https://github.com/cocogitto/cocogitto/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/cog
versions:
github: cocogitto/cocogitto
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
# no --locked flag because it was failing on proc_macro_span_shrink
- cargo install --path . --root {{prefix}}
test:
script:
- test "$(cog --version)" = "cog {{version}}"