Permalink
Browse files

Fix typo in build script and ensure the .html files are normalised too

  • Loading branch information...
SteveSanderson committed Apr 13, 2012
1 parent 8d7481a commit 2fbae9257a5fd6bd78265274f2e1f60c719e5251
Showing with 2 additions and 2 deletions.
  1. +1 −1 build/tools/check-trailing-space-windows.bat
  2. +1 −1 build/tools/normaliseAllFiles.ps1
@@ -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
@@ -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)

0 comments on commit 2fbae92

Please sign in to comment.