Skip to content

Commit

Permalink
[TEAMMATES#11385] Docker Compose sometimes failing on Windows because…
Browse files Browse the repository at this point in the history
… of line-endings (TEAMMATES#11386)
  • Loading branch information
TomKemperNL authored Aug 26, 2021
1 parent 7bf3729 commit 00f178a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
src/e2e/resources/data/* linguist-vendored
src/test/resources/data/* linguist-vendored
src/test/resources/emails/* linguist-vendored

# non-windows shell scripts should have LF line-endings (especially if copying those scripts to docker containers)
*.sh text eol=lf
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint:ts": "ng lint --tslint-config static-analysis/teammates-tslint.yml",
"lint:json": "jsonlint-cli ./*.json src/web/**/*.json src/main/resources/*.json src/test/resources/data/*.json",
"lint:css": "stylelint \"src/web/**/*.css\" \"src/web/**/*.scss\" \"src/web/**/*.html\" --config static-analysis/teammates-stylelint.yml",
"lint:spaces": "lintspaces -n -t -d spaces -l 1 -. \"src/main/**/*.html\" \"src/web/**/*.html\" \"src/**/*.xml\" \"src/**/*.json\" \"src/**/*.properties\" \"*.yml\" \"*.json\" \"*.gradle\" \"static-analysis/*.*ml\"",
"lint:spaces": "lintspaces -n -t -d spaces -l 1 -. \"src/main/**/*.html\" \"src/web/**/*.html\" \"src/**/*.xml\" \"src/**/*.json\" \"src/**/*.properties\" \"*.yml\" \"*.json\" \"*.gradle\" \"static-analysis/*.*ml\" \".gitattributes\"",
"lint": "npm-run-all lint:* -c"
},
"private": true,
Expand Down

0 comments on commit 00f178a

Please sign in to comment.