Skip to content

Commit

Permalink
Upgrade tree-sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
ewianda committed Nov 17, 2024
1 parent fafdbfa commit e90c3a6
Show file tree
Hide file tree
Showing 10 changed files with 669 additions and 1,200 deletions.
18 changes: 15 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ module(

bazel_dep(name = "bazel_skylib", version = "1.6.1")
bazel_dep(name = "rules_python", version = "0.31.0")
bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")
bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.40.0", repo_name = "bazel_gazelle")
bazel_dep(name = "com_github_smacker_go_tree_sitter", version = "0.0.1")
git_override(
module_name = "com_github_smacker_go_tree_sitter",
commit = "dd81d9e9be82a8cac96ed1d50c7389c5f1997c02",
patch_strip = 1,
patches = [
"//patches:go-tree-sitter.diff",
],
remote = "https://github.com/smacker/go-tree-sitter",
)

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
Expand All @@ -17,7 +27,6 @@ use_repo(
"com_github_bmatcuk_doublestar_v4",
"com_github_emirpasic_gods",
"com_github_ghodss_yaml",
"com_github_smacker_go_tree_sitter",
"com_github_stretchr_testify",
"in_gopkg_yaml_v2",
"org_golang_x_sync",
Expand All @@ -32,3 +41,6 @@ use_repo(
"python_stdlib_list_3_8",
"python_stdlib_list_3_9",
)

go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.23.3")
Loading

0 comments on commit e90c3a6

Please sign in to comment.