mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+crates.io/bat
This commit is contained in:
parent
19fe95a130
commit
93bcb65718
1 changed files with 27 additions and 0 deletions
27
projects/crates.io/bat/package.yml
Normal file
27
projects/crates.io/bat/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
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!");
|
Loading…
Reference in a new issue