Skip to content

Commit

Permalink
Update .gitattributes and .gitignore
Browse files Browse the repository at this point in the history
Those were not replaced automatically upon codegen with ts 0.21.0
  • Loading branch information
postsolar committed Feb 26, 2024
1 parent 5b4a731 commit daf9b3e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
src/grammar.json linguist-generated=true
src/node-types.json linguist-generated=true
src/parser.c linguist-generated=true
* text eol=lf

src/*.json linguist-generated
src/parser.c linguist-generated
src/tree_sitter/* linguist-generated

bindings/** linguist-generated
binding.gyp linguist-generated
setup.py linguist-generated
Makefile linguist-generated

36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,39 @@
# For small snippets of PS code to parse when debugging
parse/

# Rust artifacts
/Cargo.lock
/target/

# Node artifacts
/build/
/node_modules/

# Swift artifacts
/.build/

# Python artifacts
/dist/
*.egg-info
*.whl

# Zig artifacts
/zig-cache/
/zig-out/

# C artifacts
*.a
*.so
*.so.*
*.dylib
*.dll
*.pc

# Example dirs
/examples/*/

# Grammar volatiles
dsl.d.ts
*.wasm
*.obj
*.o

0 comments on commit daf9b3e

Please sign in to comment.