diff options
author | 2019-09-20 14:29:19 -0700 | |
---|---|---|
committer | 2019-09-20 14:29:19 -0700 | |
commit | 29da6e4cb482a39f407cd5b151878a3dd9d24572 (patch) | |
tree | 9fbecdf38cd3bbcc4b1264c665167fc93de61bed | |
parent | Nuke `pysite.dockerapp`. (diff) | |
parent | Line Ending Fix (diff) |
Merge pull request #252 from python-discord/line_ending_fix
Line Ending Fix
-rw-r--r-- | .gitattributes | 3 | ||||
-rwxr-xr-x | docker/app/scripts/migrate_and_serve.sh | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a90a0a96 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Declare files that will always have LF line endings on checkout +# This prevents git on Windows from automatically inserting CRLF line endings +* text=auto eol=lf
\ No newline at end of file diff --git a/docker/app/scripts/migrate_and_serve.sh b/docker/app/scripts/migrate_and_serve.sh index 0b54a2e5..c30d7e04 100755 --- a/docker/app/scripts/migrate_and_serve.sh +++ b/docker/app/scripts/migrate_and_serve.sh @@ -1,4 +1,5 @@ -#!/bin/sh -eu +#!/bin/sh +set -eu ### NOTE # This file is intended to be used by local setups. |