pantry/projects/prql-lang.org/package.yml
2023-01-14 13:09:23 -05:00

19 lines
No EOL
401 B
YAML

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