Skip to content

Commit daf9b3e

Browse files
committed
Update .gitattributes and .gitignore
Those were not replaced automatically upon codegen with ts 0.21.0
1 parent 5b4a731 commit daf9b3e

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

.gitattributes

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
src/grammar.json linguist-generated=true
2-
src/node-types.json linguist-generated=true
3-
src/parser.c linguist-generated=true
1+
* text eol=lf
42

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
511

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,39 @@
88
# For small snippets of PS code to parse when debugging
99
parse/
1010

11+
# Rust artifacts
12+
/Cargo.lock
13+
/target/
14+
15+
# Node artifacts
16+
/build/
17+
/node_modules/
18+
19+
# Swift artifacts
20+
/.build/
21+
22+
# Python artifacts
23+
/dist/
24+
*.egg-info
25+
*.whl
26+
27+
# Zig artifacts
28+
/zig-cache/
29+
/zig-out/
30+
31+
# C artifacts
32+
*.a
33+
*.so
34+
*.so.*
35+
*.dylib
36+
*.dll
37+
*.pc
38+
39+
# Example dirs
40+
/examples/*/
41+
42+
# Grammar volatiles
43+
dsl.d.ts
44+
*.wasm
45+
*.obj
46+
*.o

0 commit comments

Comments
 (0)