Merge pull request #42 from jordihasianta/master

add .gitattributes to handle line separator
This commit is contained in:
Andre Daniel Paredes
2022-09-20 10:18:08 -04:00
committed by GitHub
2 changed files with 28 additions and 1 deletions

28
.gitattributes vendored Normal file
View File

@@ -0,0 +1,28 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
# Never modify line endings of our bash scripts
*.sh eol=lf
#
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.py text
*.css text
*.html text
*.java text
*.js text
*.json text
*.properties text
*.txt text
*.xml text
# These files are binary and should be left untouched
# (binary is macro for -text -diff)
*.class binary
*.jar binary
*.gif binary
*.jpg binary
*.png binary

View File

@@ -79,5 +79,4 @@ fi
docker cp dbm_container:/app/output $output_path docker cp dbm_container:/app/output $output_path
docker stop dbm_container docker stop dbm_container
docker rm dbm_container docker rm dbm_container
exit exit