mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
fix(ruff)
resolves https://github.com/teaxyz/pantry.core/issues/205 resolves https://github.com/teaxyz/pantry.core/issues/206 resolves https://github.com/teaxyz/pantry.core/issues/207 resolves https://github.com/teaxyz/pantry.core/issues/208
This commit is contained in:
parent
ed8cc19bcb
commit
381a516062
1 changed files with 8 additions and 1 deletions
|
@ -10,7 +10,14 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org: '>=1.60'
|
rust-lang.org: '>=1.60'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
script: cargo install --locked --path ruff_cli --root {{prefix}}
|
crates.io/semverator: '*'
|
||||||
|
script: |
|
||||||
|
if semverator lt {{version}} 0.0.242; then
|
||||||
|
CRATE=ruff_cli
|
||||||
|
else
|
||||||
|
CRATE=crates/ruff_cli
|
||||||
|
fi
|
||||||
|
cargo install --locked --path $CRATE --root {{prefix}}
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/ruff
|
- bin/ruff
|
||||||
|
|
Loading…
Reference in a new issue