Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tree-sitter-c-bazel 0.20.7. #1871

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions modules/tree-sitter-c-bazel/0.20.7/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024 github.com/zadlg
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and

"zadlg/tree-sitter-c-bazel"

module(
name = "tree-sitter-c-bazel",
version = "0.20.7",
compatibility_level = 1,
repo_name = "tree-sitter-c-bazel",
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "tree-sitter-bazel", version = "0.22.5")

tree_sitter_c_source_code = use_extension(":extensions.bzl", "tree_sitter_c_source_code")
use_repo(tree_sitter_c_source_code, "tree-sitter-c-raw")
18 changes: 18 additions & 0 deletions modules/tree-sitter-c-bazel/0.20.7/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
matrix:
platform:
- centos7
- debian10
- macos
- macos_arm64
- ubuntu2004
bazel:
- 7.x
- 6.x

tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@tree-sitter-c-bazel//:tree-sitter-c'
5 changes: 5 additions & 0 deletions modules/tree-sitter-c-bazel/0.20.7/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/zadlg/tree-sitter-c-bazel/releases/download/v0.20.7/tree-sitter-c.tar.gz",
"integrity": "sha384-WqzeDAxp67zDtVdxcZ7VtXcgL3zOEzb+tGO/HysK40RAYZk6aLeo0jjNNyXAhUA1",
"strip_prefix": "tree-sitter-c-bazel-0.20.7"
}
12 changes: 12 additions & 0 deletions modules/tree-sitter-c-bazel/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"homepage": "https://github.com/zadlg/tree-sitter-c-bazel",
"maintainers": [
{
"github": "zadlg",
"name": "zadig"
}
],
"repository": ["github:zadlg/tree-sitter-c-bazel"],
"versions": ["0.20.7"],
"yanked_versions": {}
}
Loading