2023-08-26 16:30:17 +03:00
|
|
|
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/
|
|
|
|
|
2023-11-30 21:30:19 +03:00
|
|
|
dependencies:
|
2024-03-21 00:43:47 +03:00
|
|
|
libgit2.org: ~1.7 # links to libgit2.so.1.7
|
2023-11-30 21:30:19 +03:00
|
|
|
|
2023-08-26 16:30:17 +03:00
|
|
|
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}}"
|