mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-27 01:30:50 -05:00
17 lines
299 B
Batchfile
17 lines
299 B
Batchfile
@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
|
|
git diff
|
|
exit /b 1
|
|
)
|
|
|
|
echo.verify_clean: OK
|
|
exit /b 0 |