-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df6f996
commit 9793583
Showing
9 changed files
with
1,631 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,9 @@ | ||
{ | ||
"homepage": "https://github.com/smacker/go-tree-sitter", | ||
"maintainers": [], | ||
"repository": [], | ||
"versions": [ | ||
"v0.0.0-20240827094217-dd81d9e9be82" | ||
], | ||
"yanked_versions": {} | ||
} |
15 changes: 15 additions & 0 deletions
15
modules/go-tree-sitter/v0.0.0-20240827094217-dd81d9e9be82/MODULE.bazel
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,15 @@ | ||
module( | ||
name = "go-tree-sitter", | ||
version = "v0.0.0-20240827094217-dd81d9e9be82", | ||
compatibility_level = 0, | ||
) | ||
|
||
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go") | ||
bazel_dep(name = "gazelle", version = "0.31.0") | ||
|
||
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
go_deps.from_file(go_mod = "//:go.mod") | ||
use_repo( | ||
go_deps, | ||
"com_github_stretchr_testify", | ||
) |
21 changes: 21 additions & 0 deletions
21
modules/go-tree-sitter/v0.0.0-20240827094217-dd81d9e9be82/patches/01_add_module_file.patch
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,21 @@ | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
new file mode 100644 | ||
index 0000000..85392db | ||
--- /dev/null | ||
+++ b/MODULE.bazel | ||
@@ -0,0 +1,15 @@ | ||
+module( | ||
+ name = "go-tree-sitter", | ||
+ version = "v0.0.0-20240827094217-dd81d9e9be82", | ||
+ compatibility_level = 0, | ||
+) | ||
+ | ||
+bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go") | ||
+bazel_dep(name = "gazelle", version = "0.31.0") | ||
+ | ||
+go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
+go_deps.from_file(go_mod = "//:go.mod") | ||
+use_repo( | ||
+ go_deps, | ||
+ "com_github_stretchr_testify", | ||
+) |
10 changes: 10 additions & 0 deletions
10
...es/go-tree-sitter/v0.0.0-20240827094217-dd81d9e9be82/patches/02_add_root_build_file.patch
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,10 @@ | ||
diff --git a/BUILD.bazel b/BUILD.bazel | ||
new file mode 100644 | ||
index 0000000..78c001e | ||
--- /dev/null | ||
+++ b/BUILD.bazel | ||
@@ -0,0 +1,4 @@ | ||
+load("@gazelle//:def.bzl", "gazelle") | ||
+ | ||
+# gazelle:prefix github.com/smacker/go-tree-sitter | ||
+gazelle(name = "gazelle") |
Oops, something went wrong.