-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
592476d
commit 908ba6a
Showing
46 changed files
with
2,299 additions
and
1,606 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
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 |
---|---|---|
@@ -1,6 +1,37 @@ | ||
* text eol=lf | ||
* text=auto eol=lf | ||
|
||
src/** linguist-generated | ||
bindings/** linguist-generated | ||
binding.gyp linguist-generated | ||
# Generated source files | ||
src/*.json linguist-generated | ||
src/parser.c linguist-generated | ||
src/tree_sitter/* linguist-generated | ||
|
||
# C bindings | ||
bindings/c/* linguist-generated | ||
CMakeLists.txt linguist-generated | ||
Makefile linguist-generated | ||
|
||
# Rust bindings | ||
bindings/rust/* linguist-generated | ||
Cargo.toml linguist-generated | ||
Cargo.lock linguist-generated | ||
|
||
# Node.js bindings | ||
bindings/node/* linguist-generated | ||
binding.gyp linguist-generated | ||
package.json linguist-generated | ||
package-lock.json linguist-generated | ||
|
||
# Python bindings | ||
bindings/python/** linguist-generated | ||
setup.py linguist-generated | ||
pyproject.toml linguist-generated | ||
|
||
# Go bindings | ||
bindings/go/* linguist-generated | ||
go.mod linguist-generated | ||
go.sum linguist-generated | ||
|
||
# Swift bindings | ||
bindings/swift/** linguist-generated | ||
Package.swift linguist-generated | ||
Package.resolved linguist-generated |
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,27 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: sunday | ||
commit-message: | ||
prefix: ci | ||
labels: | ||
- dependencies | ||
groups: | ||
actions: | ||
patterns: ["*"] | ||
|
||
- package-ecosystem: gitsubmodule | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: sunday | ||
commit-message: | ||
prefix: test(deps) | ||
labels: | ||
- dependencies | ||
groups: | ||
actions: | ||
patterns: ["*"] |
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 |
---|---|---|
|
@@ -6,12 +6,14 @@ on: | |
paths: | ||
- grammar.js | ||
- src/** | ||
- test/** | ||
- bindings/** | ||
- binding.gyp | ||
pull_request: | ||
paths: | ||
- grammar.js | ||
- src/** | ||
- test/** | ||
- bindings/** | ||
- binding.gyp | ||
|
||
|
@@ -28,13 +30,15 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-14] | ||
steps: | ||
- name: Set up repository | ||
uses: tree-sitter/[email protected] | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
node-version: ${{vars.NODE_VERSION}} | ||
- name: Set up tree-sitter | ||
uses: tree-sitter/setup-action/cli@v2 | ||
- name: Run tests | ||
uses: tree-sitter/[email protected] | ||
uses: tree-sitter/parser-test-action@v2 | ||
- name: Parse examples | ||
uses: tree-sitter/parse-action@v4 | ||
with: | ||
test-library: ${{runner.os == 'Linux'}} | ||
corpus-files: examples/NeverSink-Filter/**/*.filter | ||
files: examples/NeverSink-Filter/**/*.filter |
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,19 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: ["*"] | ||
|
||
concurrency: | ||
group: ${{github.workflow}}-${{github.ref}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
github: | ||
uses: tree-sitter/workflows/.github/workflows/release.yml@main | ||
with: | ||
attestations: true | ||
permissions: | ||
contents: write | ||
id-token: write | ||
attestations: write |
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 |
---|---|---|
@@ -1,8 +1,40 @@ | ||
node_modules/ | ||
yarn.lock | ||
Cargo.lock | ||
# Rust artifacts | ||
target/ | ||
|
||
# Node artifacts | ||
build/ | ||
target/ | ||
prebuilds/ | ||
node_modules/ | ||
|
||
# Swift artifacts | ||
.build/ | ||
|
||
# Go artifacts | ||
_obj/ | ||
|
||
# Python artifacts | ||
.venv/ | ||
dist/ | ||
*.egg-info | ||
*.whl | ||
|
||
# C artifacts | ||
*.a | ||
*.so | ||
*.so.* | ||
*.dylib | ||
*.dll | ||
*.pc | ||
|
||
# Example dirs | ||
/examples/*/ | ||
|
||
# Grammar volatiles | ||
*.wasm | ||
*.obj | ||
*.o | ||
|
||
# Archives | ||
*.tar.gz | ||
*.tgz | ||
*.zip |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.