forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See [`tree-sitter-bazel`] and [`tree-sitter-bazel` v0.22.5]. I attempted to integrate Bazel into the original repo (see tree-sitter/tree-sitter#3312), but tree-sitter maintainers are not willing to do so, so I decided to create my own repo for this purpose. [`tree-sitter-bazel`]: https://github.com/zadlg/tree-sitter-bazel [`tree-sitter-bazel` v0.22.5]: https://github.com/zadlg/tree-sitter-bazel/releases/tag/v0.22.5
- Loading branch information
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"zadlg/tree-sitter" | ||
|
||
module( | ||
name = "tree-sitter", | ||
version = "0.22.5", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.5.0") | ||
|
||
tree_sitter_source_code = use_extension(":extensions.bzl", "tree_sitter_source_code") | ||
use_repo(tree_sitter_source_code, "tree-sitter-raw") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
matrix: | ||
platform: ["centos7", "debian10", "macos", "ubuntu2004"] | ||
|
||
tasks: | ||
verify_targets: | ||
name: "Verify build targets" | ||
platform: ${{ platform }} | ||
build_targets: | ||
- '@tree-sitter//:tree-sitter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"url": "https://github.com/zadlg/tree-sitter-bazel/archive/refs/tags/v0.22.5.tar.gz", | ||
"integrity": "sha384-prerraJTyL0ko7Pw4OkSeJRW02yYM4eP7HbXyTb5osQSp0erNOyBuTzCy9OPst3e", | ||
"strip_prefix": "tree-sitter-bazel-0.22.5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"homepage": "https://github.com/zadlg/tree-sitter-bazel", | ||
"maintainers": [ | ||
{ | ||
"github": "zadlg", | ||
"name": "zadig" | ||
} | ||
], | ||
"repository": ["github:zadlg/tree-sitter-bazel"], | ||
"versions": ["0.22.5"], | ||
"yanked_versions": {} | ||
} |