Skip to content

Commit

Permalink
Force Windows to checkout css- & js-files with lf eol
Browse files Browse the repository at this point in the history
If running tests on Windows and converting fixture's file-endings to `CRLF`, expected checksum hashes do not match anymore and tests fail.

Attempt to explicitly force line endings on Windows to keep `LF`.
  • Loading branch information
macedigital committed Jun 26, 2017
1 parent ead6130 commit 726c918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto

.css -crlf
.js -crlf
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ platform:
- x64

init:
- git config --global core.autocrlf true
- git config --global core.eol lf
- git config --global core.autocrlf input

install:
- ps: Install-Product node $env:nodejs_version
Expand Down

0 comments on commit 726c918

Please sign in to comment.