mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/github.com/YS-L/csvlens/package.yml
new file: projects/github.com/YS-L/csvlens/test.csv
This commit is contained in:
parent
b0691cb54c
commit
4df2a7c427
2 changed files with 25 additions and 0 deletions
23
projects/github.com/YS-L/csvlens/package.yml
Normal file
23
projects/github.com/YS-L/csvlens/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/YS-L/csvlens/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: YS-L/csvlens
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: ^1.65
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
script:
|
||||||
|
- cargo install $CARGO_ARGS
|
||||||
|
env:
|
||||||
|
CARGO_ARGS:
|
||||||
|
- --locked
|
||||||
|
- --root="{{prefix}}"
|
||||||
|
- --path=.
|
||||||
|
provides:
|
||||||
|
- bin/csvlens
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- csvlens --version | grep {{version}}
|
||||||
|
#- csvlens test.csv --echo-column B
|
||||||
|
# We can't test this because it will open a virtual window
|
2
projects/github.com/YS-L/csvlens/test.csv
Normal file
2
projects/github.com/YS-L/csvlens/test.csv
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
A,B,C
|
||||||
|
100,42,300
|
|
Loading…
Reference in a new issue