mirror of
https://github.com/ivabus/pantry
synced 2024-12-01 20:45:10 +03:00
233afacafa
closes #4269
25 lines
509 B
YAML
25 lines
509 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/
|
|
|
|
dependencies:
|
|
libgit2.org: ^1
|
|
|
|
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}}"
|