mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+biome -- Formatter and linter for web dev (#3344)
* +biome -- Formatter and linter for web dev * cc + make
This commit is contained in:
parent
c382e750d3
commit
08981e8875
1 changed files with 28 additions and 0 deletions
28
projects/biomejs.dev/package.yml
Normal file
28
projects/biomejs.dev/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://github.com/biomejs/biome/archive/refs/tags/cli/v{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/biome
|
||||
|
||||
versions:
|
||||
github: biomejs/biome
|
||||
strip: /cli/v/
|
||||
|
||||
build:
|
||||
working-directory: crates/biome_cli
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org: '>=1.65'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
cargo install --locked --path . --root {{prefix}}
|
||||
env:
|
||||
RUSTFLAGS: "-C strip=symbols"
|
||||
BIOME_VERSION: 'v{{version}}'
|
||||
|
||||
test:
|
||||
script:
|
||||
- |
|
||||
test "$(biome --version)" = "Version: v{{version}}"
|
Loading…
Reference in a new issue