mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
893a5dfb5d
commit
3596398664
2 changed files with 6 additions and 2 deletions
|
@ -14,7 +14,9 @@ build:
|
|||
- run: CRATE=ruff_cli
|
||||
if: <0.0.242
|
||||
- run: CRATE=crates/ruff_cli
|
||||
if: '>=0.0.242'
|
||||
if: '>=0.0.242<0.1.14'
|
||||
- run: CRATE=crates/ruff
|
||||
if: '>=0.1.14'
|
||||
- cargo install --locked --path $CRATE --root {{prefix}}
|
||||
|
||||
provides:
|
||||
|
|
|
@ -14,8 +14,10 @@ build:
|
|||
script: |
|
||||
if semverator lt {{version}} 0.0.242; then
|
||||
CRATE=ruff_cli
|
||||
else
|
||||
elif semverator lt {{version}} 0.1.14; then
|
||||
CRATE=crates/ruff_cli
|
||||
else
|
||||
CRATE=crates/ruff
|
||||
fi
|
||||
cargo install --locked --path $CRATE --root {{prefix}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue