Skip to content

Commit

Permalink
add go-tree-sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dougthor42 committed Dec 10, 2024
1 parent df6f996 commit 9793583
Show file tree
Hide file tree
Showing 9 changed files with 1,631 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/go-tree-sitter/metadata.json
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": {}
}
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",
)
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",
+)
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")
Loading

0 comments on commit 9793583

Please sign in to comment.