Skip to content

Commit

Permalink
feat: tree sitter pkg (#2929)
Browse files Browse the repository at this point in the history
* feat: tree sitter pkg

Signed-off-by: Lakshya Singh <[email protected]>

* rename, fix build, add test

---------

Signed-off-by: Lakshya Singh <[email protected]>
Co-authored-by: Jacob Heider <[email protected]>
  • Loading branch information
king-11 and jhheider authored Aug 21, 2023
1 parent 7ae694a commit ec6742b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions projects/tree-sitter.github.io/package.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ec6742b

Please sign in to comment.