Script to confirm build is clean.

This commit is contained in:
Don Cross
2019-05-05 11:10:52 -04:00
parent 58994838bf
commit 486aab5039

16
generate/verify_clean.bat Normal file
View File

@@ -0,0 +1,16 @@
@echo off
setlocal EnableDelayedExpansion
set clean=true
for /f %%x in ('git status --porcelain') do (
set clean=false
)
if !clean! == false (
echo.verify_clean: There are local file changes - build is not clean:
git status
exit /b 1
)
echo.verify_clean: OK
exit /b 0