mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+xsv
This commit is contained in:
parent
4f695cf499
commit
6b134202fe
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