mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
feat: tree sitter pkg (#2929)
* feat: tree sitter pkg Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com> * rename, fix build, add test --------- Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com> Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
7ae694ad37
commit
ec6742b9dc
1 changed files with 20 additions and 0 deletions
20
projects/tree-sitter.github.io/package.yml
Normal file
20
projects/tree-sitter.github.io/package.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
distributable:
|
||||
url: https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/tree-sitter
|
||||
|
||||
versions:
|
||||
github: tree-sitter/tree-sitter
|
||||
strip: /v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: ^1.65
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo install --root {{prefix}} --path cli
|
||||
|
||||
test:
|
||||
- tree-sitter init-config
|
||||
- tree-sitter dump-languages
|
Loading…
Reference in a new issue