Add .gitattributes & normalize line endings (#1230)

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
This commit is contained in:
Christian Neumüller 2020-11-26 13:15:29 +01:00 committed by GitHub
parent 3df4ec410c
commit 08420ca5af
3 changed files with 21 additions and 17 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
* text=auto eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf

View File

@ -1,15 +1,15 @@
SETLOCAL
SETLOCAL ENABLEEXTENSIONS
docfx.exe build docfx.json > docfx.log
@IF NOT %ERRORLEVEL% == 0 (
type docfx.log
ECHO Error: docfx build failed. 1>&2
EXIT /B %ERRORLEVEL%
)
@type docfx.log
@type docfx.log | findstr /C:"Build succeeded."
@IF NOT %ERRORLEVEL% == 0 (
ECHO Error: you have introduced build warnings. 1>&2
EXIT /B %ERRORLEVEL%
)
SETLOCAL
SETLOCAL ENABLEEXTENSIONS
docfx.exe build docfx.json > docfx.log
@IF NOT %ERRORLEVEL% == 0 (
type docfx.log
ECHO Error: docfx build failed. 1>&2
EXIT /B %ERRORLEVEL%
)
@type docfx.log
@type docfx.log | findstr /C:"Build succeeded."
@IF NOT %ERRORLEVEL% == 0 (
ECHO Error: you have introduced build warnings. 1>&2
EXIT /B %ERRORLEVEL%
)

View File

@ -1,2 +1,2 @@
- name: OpenTelemetry Specification
href: ./README.md
- name: OpenTelemetry Specification
href: ./README.md