Skip to content

Commit

Permalink
update .gitignore and add .gitattributes for tree-sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Lee (POWERSHELL HE/HIM) (from Dev Box) committed Apr 13, 2024
1 parent 079a90f commit 63eaa60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tree-sitter-dscexpression/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* 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
Package.swift linguist-generated
6 changes: 6 additions & 0 deletions tree-sitter-dscexpression/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules/

# Swift artifacts
.build/
Package.swift

# Go artifacts
go.sum
Expand All @@ -20,6 +21,8 @@ _obj/
dist/
*.egg-info
*.whl
pyproject.toml
setup.py

# C artifacts
*.a
Expand All @@ -28,6 +31,7 @@ dist/
*.dylib
*.dll
*.pc
Makefile

# Example dirs
/examples/*/
Expand All @@ -36,3 +40,5 @@ dist/
*.wasm
*.obj
*.o

.editorconfig

0 comments on commit 63eaa60

Please sign in to comment.