Improve the gitattributes and gitignore files (#234)

* Delete some not needed files

* Specify wgsl

* Finalise gitattributes
This commit is contained in:
Daniel McNab 2023-01-05 18:24:36 +00:00 committed by GitHub
parent 57d79bdf1f
commit 6cfd358f80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

8
.gitattributes vendored
View file

@ -1,3 +1,5 @@
**/shader/* linguist-language=glsl # This is a lie. However, linguist does not support wgsl, so this is good-enough
**/shader/gen/* linguist-generated # Show the amount of the code which is shader
piet-wgpu/shader/* linguist-language=wgsl shader/*.wgsl linguist-language=glsl
# Potentially better syntax highlighting
# shader/*.wgsl linguist-language=Rust

4
.gitignore vendored
View file

@ -1,5 +1 @@
/target /target
**/*.rs.bk
.ninja_deps
.ninja_log
**/shader/gen