diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..50c1eaf8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.go text eol=cr diff --git a/generate/makedoc.bat b/generate/makedoc.bat index 4aa16d13..303b5989 100644 --- a/generate/makedoc.bat +++ b/generate/makedoc.bat @@ -30,15 +30,6 @@ for %%f in (..\source\c\astronomy.c ..\source\js\astronomy.js ..\source\python\a ) echo.Formatting Go code. -for %%f in ( - ..\source\golang\astronomy.go - ..\source\golang\astronomy_test.go -) do ( - node eol_hack.js %%f || ( - echo.ERROR cleaning newlines in file: %%f - exit /b 1 - ) -) cd ..\source\golang go version || ( echo.FATAL: Cannot find Go compiler.