Skip to content

Commit

Permalink
fix(prql)
Browse files Browse the repository at this point in the history
 closes #7589
  • Loading branch information
jhheider committed Oct 11, 2024
1 parent fbeb040 commit e5a96db
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions projects/prql-lang.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ build:
dependencies:
rust-lang.org: ^1.65
rust-lang.org/cargo: '*'
linux:
llvm.org: 18 # 19 has template issues with duckdb build
script:
- run: cargo install --path prql-compiler --root {{prefix}}
if: <0.4.0
Expand All @@ -18,20 +20,23 @@ build:
if: '>=0.4.1<0.9.0'
- run: cargo install --path crates/prqlc --root {{prefix}} --all-features
if: '>=0.9.0<0.10.0'
- run: cargo install --path prqlc/prqlc --root {{prefix}} --all-features
- run: cargo install --path prqlc/prqlc --root {{prefix}} --locked --all-features
if: '>=0.10.0'

# Bin got renamed; this is one way to keep ourselves working
- run: ln -s prql-compiler prqlc
working-directory: "{{prefix}}/bin"
working-directory: '{{prefix}}/bin'
if: <0.4.0
- run: ln -s prqlc prql-compiler
working-directory: "{{prefix}}/bin"
working-directory: '{{prefix}}/bin'
if: '>=0.4.0'
env:
linux:
AR: llvm-ar

test:
- echo "from employees | filter has_dog | select salary" | prqlc compile

provides:
- bin/prql-compiler
- bin/prqlc
- bin/prqlc

0 comments on commit e5a96db

Please sign in to comment.