mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
add prql-compiler package
This commit is contained in:
parent
8488a807f4
commit
4a3be2188c
19
projects/prql-lang.org/package.yml
Normal file
19
projects/prql-lang.org/package.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
distributable:
|
||||
url: https://github.com/PRQL/prql/archive/refs/tags/{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: PRQL/prql/tags
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org/cargo: '*'
|
||||
script: |
|
||||
cd ./prql-compiler
|
||||
cargo install --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
echo "from employees | filter has_dog | select salary" | prql-compiler compile
|
||||
|
||||
provides:
|
||||
- bin/prql-compiler
|
Loading…
Reference in a new issue