Skip to content

Commit

Permalink
build: update bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Sep 2, 2024
1 parent 6630304 commit dc6a1bd
Show file tree
Hide file tree
Showing 25 changed files with 746 additions and 728 deletions.
10 changes: 5 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,toml,yml,gyp}]
indent_style = space
Expand All @@ -14,11 +11,11 @@ indent_size = 2
indent_style = space
indent_size = 2

[*.rs]
[*.{c,cc,h}]
indent_style = space
indent_size = 4

[*.{c,cc,h}]
[*.rs]
indent_style = space
indent_size = 4

Expand All @@ -37,3 +34,6 @@ indent_size = 8
[Makefile]
indent_style = tab
indent_size = 8

[parser.c]
indent_size = 2
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text eol=lf
* text=auto eol=lf

src/*.json linguist-generated
src/parser.c linguist-generated
Expand Down
37 changes: 35 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
node_modules/
build/
# Rust artifacts
target/

# Node artifacts
build/
prebuilds/
node_modules/
*.tgz

# Swift artifacts
.build/
Package.resolved

# 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
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tree-sitter-ql-dbscheme"
description = "QlDbscheme grammar for tree-sitter"
description = "QL DBScheme grammar for tree-sitter"
version = "0.0.1"
license = "MIT"
readme = "README.md"
Expand All @@ -18,7 +18,9 @@ path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter-language = "0.1.0"
tree-sitter = "0.23.0"

[build-dependencies]
cc = "1.0.87"
cc = "1.1.15"

[dev-dependencies]
tree-sitter = "0.23"
28 changes: 15 additions & 13 deletions Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions Package.resolved

This file was deleted.

73 changes: 37 additions & 36 deletions Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# tree-sitter-ql-dbscheme
tree-sitter support for `.dbscheme` files (as used in CodeQL).

[![CI][ci]](https://github.com/tree-sitter/tree-sitter-ql-dbscheme/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-ql-dbscheme)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-ql-dbscheme)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-ql-dbscheme)

`.dbscheme` grammar for [tree-sitter][] (as used in CodeQL).

[tree-sitter]: https://github.com/tree-sitter/tree-sitter
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-ql-dbscheme/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-ql-dbscheme?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-ql-dbscheme?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-ql-dbscheme?logo=pypi&logoColor=ffd242
1 change: 0 additions & 1 deletion binding.gyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/c/tree-sitter-ql_dbscheme.pc.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindings/go/binding_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/node/binding.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 24 additions & 2 deletions bindings/python/tree_sitter_ql_dbscheme/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/python/tree_sitter_ql_dbscheme/__init__.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions bindings/rust/build.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc6a1bd

Please sign in to comment.