diff --git a/projects/github.com/YS-L/csvlens/package.yml b/projects/github.com/YS-L/csvlens/package.yml new file mode 100644 index 00000000..5e924cc0 --- /dev/null +++ b/projects/github.com/YS-L/csvlens/package.yml @@ -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 \ No newline at end of file diff --git a/projects/github.com/YS-L/csvlens/test.csv b/projects/github.com/YS-L/csvlens/test.csv new file mode 100644 index 00000000..97ba422d --- /dev/null +++ b/projects/github.com/YS-L/csvlens/test.csv @@ -0,0 +1,2 @@ +A,B,C +100,42,300 \ No newline at end of file