add prql-compiler package

This commit is contained in:
Marc Seitz 2023-01-13 12:20:20 +01:00 committed by Max Howell
parent 8488a807f4
commit 4a3be2188c

View 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