Add usual NOPAUSE option to pub-bins.bat files
This commit is contained in:
parent
7b7fbce9ab
commit
016f538d93
|
@ -4,9 +4,13 @@
|
|||
@set TMPFIL=%TMPSRC%\version.txt
|
||||
@if NOT EXIST %TMPFIL% goto NOFIL
|
||||
@set /p TMPVER=<%TMPFIL%
|
||||
|
||||
@set DOPAUSE=pause
|
||||
@echo Version %TMPVER%
|
||||
|
||||
if "%1x" == "NOPAUSEx" (
|
||||
set DOPAUSE=echo No pause requested...
|
||||
)
|
||||
|
||||
@set TMPBIN=F:\Projects\tidy-bins
|
||||
@set TMPBINS=%TMPBIN%\binaries
|
||||
@if NOT EXIST %TMPBINS%\nul goto NOBIN
|
||||
|
@ -29,7 +33,7 @@
|
|||
@echo %TMPFIL3%
|
||||
@echo.
|
||||
@echo *** CONTINUE?%
|
||||
@pause
|
||||
@%DOPAUSE%
|
||||
|
||||
@if NOT EXIST %TMPDD%\nul (
|
||||
@md %TMPDD%
|
||||
|
@ -79,11 +83,9 @@ copy %TMPSRC% %TMPDST%
|
|||
@echo.
|
||||
@goto :EOF
|
||||
|
||||
|
||||
|
||||
:NODST
|
||||
@echo Error: Unable to create %TMPDD%
|
||||
|
||||
@goto END
|
||||
|
||||
:NOFIL1
|
||||
@echo Can NOT locate %TMPFIL1%! *** FIX ME ***
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
@set TMPFIL=%TMPSRC%\version.txt
|
||||
@if NOT EXIST %TMPFIL% goto NOFIL
|
||||
@set /p TMPVER=<%TMPFIL%
|
||||
@set DOPAUSE=pause
|
||||
|
||||
@echo Version %TMPVER%
|
||||
|
||||
|
@ -15,6 +16,10 @@
|
|||
@echo This is a NEW installation in %TMPDD%
|
||||
:GOTDST
|
||||
|
||||
@if "%1x" == "NOPAUSEx" (
|
||||
@set DOPAUSE=echo No pause requested...
|
||||
)
|
||||
|
||||
@set TMPFIL1=tidy5-%TMPVER%-win64.exe
|
||||
@set TMPFIL2=tidy5-%TMPVER%-win64.msi
|
||||
@set TMPFIL3=tidy5-%TMPVER%-win64.zip
|
||||
|
@ -28,7 +33,7 @@
|
|||
@echo %TMPFIL3%
|
||||
@echo.
|
||||
@echo *** CONTINUE?%
|
||||
@pause
|
||||
@%DOPAUSE%
|
||||
|
||||
@if NOT EXIST %TMPDD%\nul (
|
||||
@md %TMPDD%
|
||||
|
|
Loading…
Reference in a new issue