Skip to content

Commit

Permalink
Fix typo in build script and ensure the .html files are normalised too
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSanderson committed Apr 13, 2012
1 parent 8d7481a commit 2fbae92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/tools/check-trailing-space-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cd ..
findstr -rsm -c:" $" * |findstr -rv "^.git" |findstr -rv ".exe$" > build\%OutTrailingSpaceListFile%
cd build
for %%R in (%OutTrailingSpaceListFile%) do if %%~zR gtr 0 goto :NeedFixTrailingSpace
rm %OutTrailingSpaceListFile%
del %OutTrailingSpaceListFile%
goto :TrailingSpaceOkay

:NeedFixTrailingSpace
Expand Down
2 changes: 1 addition & 1 deletion build/tools/normaliseAllFiles.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# If needed, first run: Set-ExecutionPolicy Unrestricted

$allFiles = (Get-ChildItem -Path ..\..\ -Include *.js,*.css,*.bat -Recurse)
$allFiles = (Get-ChildItem -Path ..\..\ -Include *.js,*.css,*.bat,*.html -Recurse)

$allFiles | %{
# Read file, remove trailing spaces/tabs, output back to file in CP1252 format (default for Git on Windows)
Expand Down

0 comments on commit 2fbae92

Please sign in to comment.