Skip to content

Commit 174bc44

Browse files
committed
build: updating bindings and versions
1 parent cb83456 commit 174bc44

38 files changed

+2418
-410
lines changed

.editorconfig

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*.{json,toml,yml,gyp}]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.js]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[*.rs]
18+
indent_style = space
19+
indent_size = 4
20+
21+
[*.{c,cc,h}]
22+
indent_style = space
23+
indent_size = 4
24+
25+
[*.{py,pyi}]
26+
indent_style = space
27+
indent_size = 4
28+
29+
[*.swift]
30+
indent_style = space
31+
indent_size = 4
32+
33+
[*.go]
34+
indent_style = tab
35+
indent_size = 8
36+
37+
[Makefile]
38+
indent_style = tab
39+
indent_size = 8

.eslintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

.gitattributes

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
/src/** linguist-vendored
2-
/examples/* linguist-vendored
1+
* text eol=lf
32

4-
src/grammar.json -diff
5-
src/node-types.json -diff
6-
src/parser.c -diff
3+
src/*.json linguist-generated
4+
src/parser.c linguist-generated
5+
src/tree_sitter/* linguist-generated
6+
7+
bindings/** linguist-generated
8+
binding.gyp linguist-generated
9+
setup.py linguist-generated
10+
Makefile linguist-generated
11+
Package.swift linguist-generated

.gitignore

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,38 @@
1+
# Rust artifacts
12
Cargo.lock
2-
node_modules
3-
build
4-
*.log
5-
package-lock.json
6-
examples/go
7-
examples/moby
8-
target
3+
target/
94

5+
# Node artifacts
6+
build/
7+
prebuilds/
8+
node_modules/
9+
*.tgz
10+
11+
# Swift artifacts
12+
.build/
13+
14+
# Go artifacts
15+
go.sum
16+
_obj/
17+
18+
# Python artifacts
19+
.venv/
20+
dist/
21+
*.egg-info
22+
*.whl
23+
24+
# C artifacts
1025
*.a
11-
*.dylib
1226
*.so
27+
*.so.*
28+
*.dylib
29+
*.dll
30+
*.pc
31+
32+
# Example dirs
33+
/examples/*/
34+
35+
# Grammar volatiles
36+
*.wasm
37+
*.obj
1338
*.o
14-
bindings/c/*.h
15-
bindings/c/tree-sitter-*.pc
16-
.build/

.npmignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

Cargo.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[package]
22
name = "tree-sitter-go"
33
description = "Go grammar for tree-sitter"
4-
version = "0.20.0"
4+
version = "0.21.0"
55
authors = [
6-
"Max Brunsfeld <[email protected]>",
7-
"Douglas Creager <[email protected]>",
6+
"Max Brunsfeld <[email protected]>",
7+
"Amaan Qureshi <[email protected]>",
88
]
99
license = "MIT"
10-
readme = "bindings/rust/README.md"
11-
keywords = ["incremental", "parsing", "go"]
10+
keywords = ["incremental", "parsing", "tree-sitter", "go"]
1211
categories = ["parsing", "text-editors"]
1312
repository = "https://github.com/tree-sitter/tree-sitter-go"
14-
edition = "2018"
13+
edition = "2021"
1514
autoexamples = false
1615

1716
build = "bindings/rust/build.rs"
@@ -21,7 +20,7 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
2120
path = "bindings/rust/lib.rs"
2221

2322
[dependencies]
24-
tree-sitter = ">= 0.20, < 0.21"
23+
tree-sitter = ">=0.21.0"
2524

2625
[build-dependencies]
27-
cc = "1.0"
26+
cc = "1.0.90"

Makefile

Lines changed: 70 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)