summaryrefslogtreecommitdiffstatshomepage
path: root/.gitattributes
diff options
context:
space:
mode:
authorMartin Wickham <spexguy070@gmail.com>2021-02-11 22:04:36 -0600
committerMartin Wickham <spexguy070@gmail.com>2021-02-11 22:10:55 -0600
commit6e576785c51ce8aca28f490218a6e5a8ba494b4f (patch)
tree62a829f488b9b4c0fc47c7509aa7b3a6c3708b46 /.gitattributes
parentb7f9711da45981b1dd2fbd9a5245ffd741584242 (diff)
Use a zig build script to run ziglings
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..2ab768e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,17 @@
+# See https://git-scm.com/docs/gitattributes
+# See https://help.github.com/articles/dealing-with-line-endings/
+
+# Default behavior, if core.autocrlf is unset.
+* text=auto
+
+# Files to be converted to native line endings on checkout.
+*.cpp text
+*.h text
+
+# Text files to always have CRLF (dos) line endings on checkout.
+*.bat text eol=crlf
+
+# Text files to always have LF (unix) line endings on checkout.
+*.sh text eol=lf
+*.zig text eol=lf
+