mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+xsv
This commit is contained in:
parent
4f695cf499
commit
6b134202fe
1 changed files with 25 additions and 0 deletions
25
projects/github.com/burntsushi/xsv/package.yml
Normal file
25
projects/github.com/burntsushi/xsv/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/BurntSushi/xsv/archive/refs/tags/{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: BurntSushi/xsv/tags
|
||||
|
||||
provides:
|
||||
- bin/xsv
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: ">=1.60"
|
||||
rust-lang.org/cargo: "*"
|
||||
script: cargo install --locked --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
script: |
|
||||
out=$(xsv count $FIXTURE)
|
||||
test "$out" = "2"
|
||||
|
||||
fixture: |
|
||||
foo,bar
|
||||
1,2
|
||||
3,42
|
Loading…
Reference in a new issue