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:
Andrii Riabchenko 2024-01-09 11:53:39 +02:00 committed by Jacob Heider
parent b0691cb54c
commit 4df2a7c427
2 changed files with 25 additions and 0 deletions

View 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

View file

@ -0,0 +1,2 @@
A,B,C
100,42,300
1 A B C
2 100 42 300