Navigation Menu

Skip to content

Commit

Permalink
Add a .gitattributes file to specify eol=LF (#1370)
Browse files Browse the repository at this point in the history
* Add a .gitattributes file specifying LF-style line endings.

This is similar to [Rust's .gitattributes file] though simplified.
Most of our source and documentation files already used LF-style line
endings, including *.cs files, so this makes things more consistent.

[Rust's .gitattributes file]: https://github.com/rust-lang/rust/blob/master/.gitattributes

* Remove UTF-8 BOMs in *.cs files.

Most of our *.cs files don't have UTF-8 BOMs, so this makes things more
consistent.
  • Loading branch information
sunfishcode committed Mar 21, 2020
1 parent 815e340 commit c202a8e
Show file tree
Hide file tree
Showing 21 changed files with 1,164 additions and 1,157 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
@@ -0,0 +1,7 @@
# Use LF-style line endings for all text files.
* text=auto eol=lf

# Older git versions try to fix line endings on images, this prevents it.
*.png binary
*.ico binary
*.wasm binary
18 changes: 9 additions & 9 deletions crates/misc/dotnet/docs/.gitignore
@@ -1,9 +1,9 @@
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/
_site
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/
_site
10 changes: 5 additions & 5 deletions crates/misc/dotnet/docs/api/.gitignore
@@ -1,5 +1,5 @@
###############
# temp file #
###############
*.yml
.manifest
###############
# temp file #
###############
*.yml
.manifest
8 changes: 4 additions & 4 deletions crates/misc/dotnet/docs/api/index.md
@@ -1,5 +1,5 @@
# Wasmtime for NET

This is the .NET API for [Wasmtime](https://github.com/bytecodealliance/wasmtime).

# Wasmtime for NET

This is the .NET API for [Wasmtime](https://github.com/bytecodealliance/wasmtime).

See the [documentation](Wasmtime.html#classes) for the various .NET classes.

0 comments on commit c202a8e

Please sign in to comment.