summaryrefslogtreecommitdiff
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorLexManos <LexManos@gmail.com>2020-06-03 16:57:07 -0700
committerLexManos <LexManos@gmail.com>2020-06-03 16:57:07 -0700
commitf7f7dab1dd846bd9b21d27ed222a5b29e292fec3 (patch)
treef332b11ef36eab521a14c736d1da566d31ea4b91 /gitattributes.txt
parenteaeed364ba2b2a96ff23194430edbc9d1c624b91 (diff)
Add --flat argument to data generators to not create data in mod specific directores.
Useful For Forge's test mods mainly. Standardized data gen cache file's folder separators. Added ItemModelProvider to BlockStateProvider for cleaner datagen code. Added .gitattributes to fix datagen json's line endings correct on windows.
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
new file mode 100644
index 0000000..f811f6a
--- /dev/null
+++ b/gitattributes.txt
@@ -0,0 +1,5 @@
+# Disable autocrlf on generated files, they always generate with LF
+# Add any extra files or paths here to make git stop saying they
+# are changed when only line endings change.
+src/generated/**/.cache/cache text eol=lf
+src/generated/**/*.json text eol=lf