evolution

This commit is contained in:
Jacob Heider 2023-01-19 01:24:43 -05:00 committed by Jacob Heider
parent 4f56e7bcfb
commit e8e86b8264

View file

@ -8,9 +8,15 @@ versions:
build:
dependencies:
rust-lang.org/cargo: '*'
working-directory: prql-compiler
script: |
cd ./prql-compiler
cargo install --path . --root {{prefix}} --all-features
if test {{version.major}} -eq 0 -a {{version.minor}} -lt 4; then
cargo install --path . --root {{prefix}}
elif test "{{version}}" = "0.4.0"; then
cargo install --path . --root {{prefix}} --all-features
else
cargo install --path prqlc --root {{prefix}}
fi
cd {{prefix}}/bin