2022-12-05 18:09:42 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/sharkdp/bat/archive/refs/tags/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/bat
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: sharkdp/bat/tags
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
zlib.net: ^1
|
2024-03-21 00:43:47 +03:00
|
|
|
libgit2.org: ~1.7 # links to libgit2.so.1.7
|
2022-12-05 18:09:42 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: '>=1.60'
|
|
|
|
rust-lang.org/cargo: '*'
|
2024-03-21 00:43:47 +03:00
|
|
|
script: cargo install --locked --path . --root {{prefix}}
|
2022-12-05 18:09:42 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
mv $FIXTURE $FIXTURE.js
|
|
|
|
bat $FIXTURE.js
|
|
|
|
fixture: |
|
|
|
|
console.log("Hello, World!");
|