Merge pull request #222 from Susko3/fix-line-endings-in-g.cs

Fix checked out line endings in `*.g.cs` files
This commit is contained in:
Dean Herbert 2025-06-24 16:58:03 +09:00 committed by GitHub
commit dc1e1a10af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

6
.gitattributes vendored
View File

@ -22,4 +22,8 @@ App.config text eol=crlf
.gitignore text eol=lf .gitignore text eol=lf
.gitattributes text eol=lf .gitattributes text eol=lf
*.md text eol=lf *.md text eol=lf
.travis.yml text eol=lf .travis.yml text eol=lf
# Use lf for files used by ClangSharpPInvokeGenerator
*-license-header.txt text eol=lf
*.g.cs text eol=lf

View File

@ -255,7 +255,7 @@ def typedef(t):
base_command = [ base_command = [
"dotnet", "tool", "run", "ClangSharpPInvokeGenerator", "dotnet", "tool", "run", "ClangSharpPInvokeGenerator",
"--headerFile", csproj_root / "SDL.licenseheader", "--headerFile", csproj_root / "SDL-license-header.txt",
"--config", "--config",
"latest-codegen", "latest-codegen",