Skip to content

Commit a4c4410

Browse files
authored
Add tree-sitter-c-bazel 0.20.7. (#1871)
Add tree-sitter-c-bazel 0.20.7. See [`tree-sitter-c-bazel`] and [`tree-sitter-c-bazel` v0.20.7]. This module allows Bazel users to use the [tree-sitter C parser] in their Bazel project. [`tree-sitter-c-bazel`]: https://github.com/zadlg/tree-sitter-c-bazel [`tree-sitter-c-bazel` v0.20.7]: https://github.com/zadlg/tree-sitter-c-bazel/releases/tag/v0.20.7 [tree-sitter C parser]: https://github.com/tree-sitter/tree-sitter-c
1 parent e046ebc commit a4c4410

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2024 github.com/zadlg
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http:#www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
14+
"zadlg/tree-sitter-c-bazel"
15+
16+
module(
17+
name = "tree-sitter-c-bazel",
18+
version = "0.20.7",
19+
compatibility_level = 1,
20+
repo_name = "tree-sitter-c-bazel",
21+
)
22+
23+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
24+
bazel_dep(name = "tree-sitter-bazel", version = "0.22.5")
25+
26+
tree_sitter_c_source_code = use_extension(":extensions.bzl", "tree_sitter_c_source_code")
27+
use_repo(tree_sitter_c_source_code, "tree-sitter-c-raw")
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
matrix:
2+
platform:
3+
- centos7
4+
- debian10
5+
- macos
6+
- macos_arm64
7+
- ubuntu2004
8+
bazel:
9+
- 7.x
10+
- 6.x
11+
12+
tasks:
13+
verify_targets:
14+
name: Verify build targets
15+
platform: ${{ platform }}
16+
bazel: ${{ bazel }}
17+
build_targets:
18+
- '@tree-sitter-c-bazel//:tree-sitter-c'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"url": "https://github.com/zadlg/tree-sitter-c-bazel/releases/download/v0.20.7/tree-sitter-c.tar.gz",
3+
"integrity": "sha384-WqzeDAxp67zDtVdxcZ7VtXcgL3zOEzb+tGO/HysK40RAYZk6aLeo0jjNNyXAhUA1",
4+
"strip_prefix": "tree-sitter-c-bazel-0.20.7"
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"homepage": "https://github.com/zadlg/tree-sitter-c-bazel",
3+
"maintainers": [
4+
{
5+
"github": "zadlg",
6+
"name": "zadig"
7+
}
8+
],
9+
"repository": ["github:zadlg/tree-sitter-c-bazel"],
10+
"versions": ["0.20.7"],
11+
"yanked_versions": {}
12+
}

0 commit comments

Comments
 (0)