mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
550b778891
closes #3621
29 lines
496 B
YAML
29 lines
496 B
YAML
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
|
|
libgit2.org: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: '>=1.60'
|
|
rust-lang.org/cargo: '*'
|
|
script:
|
|
cargo install --locked --path . --root {{prefix}}
|
|
|
|
test:
|
|
script: |
|
|
mv $FIXTURE $FIXTURE.js
|
|
bat $FIXTURE.js
|
|
fixture: |
|
|
console.log("Hello, World!");
|