Merge branch 'master' of github.com:htacg/tidy-html5

This commit is contained in:
Geoff R. McLane 2015-10-02 14:23:02 +02:00
commit da0ba45f97
3 changed files with 68 additions and 37 deletions

View file

@ -2,16 +2,12 @@
@set TMPWV=win32 @set TMPWV=win32
@set TMPSRC=../.. @set TMPSRC=../..
@set TMPNAME=tidy @set TMPNAME=tidy
@set TMPFIL=%TMPSRC%\version.txt @set TMPFIL=%TMPSRC%\version.txt
@if NOT EXIST %TMPFIL% goto NOFIL @if NOT EXIST %TMPFIL% goto NOFIL
@set /p TMPVER=<%TMPFIL% @set /p TMPVER=<%TMPFIL%
@set DOPAUSE=pause @set DOPAUSE=pause
@echo Version %TMPVER%
if "%1x" == "NOPAUSEx" ( @echo Version %TMPVER%
set DOPAUSE=echo No pause requested...
)
@set TMPBIN=F:\Projects\tidy-bins @set TMPBIN=F:\Projects\tidy-bins
@set TMPBINS=%TMPBIN%\binaries @set TMPBINS=%TMPBIN%\binaries
@ -22,17 +18,30 @@ if "%1x" == "NOPAUSEx" (
@echo This is a NEW installation in %TMPDD% @echo This is a NEW installation in %TMPDD%
:GOTDST :GOTDST
@if "%1x" == "NOPAUSEx" (
@set DOPAUSE=echo No pause requested...
)
@echo Will publish...
@set TMPCNT=0
@set TMPFIL1=%TMPNAME%-%TMPVER%-%TMPWV%.exe @set TMPFIL1=%TMPNAME%-%TMPVER%-%TMPWV%.exe
@set TMPFIL2=%TMPNAME%-%TMPVER%-%TMPWV%.msi @set TMPFIL2=%TMPNAME%-%TMPVER%-%TMPWV%.msi
@set TMPFIL3=%TMPNAME%-%TMPVER%-%TMPWV%.zip @set TMPFIL3=%TMPNAME%-%TMPVER%-%TMPWV%.zip
@if NOT EXIST %TMPFIL1% goto NOFIL1 @if EXIST %TMPFIL1% (
@if NOT EXIST %TMPFIL2% goto NOFIL2
@if NOT EXIST %TMPFIL3% goto NOFIL3
@echo.
@echo Will publish...
@echo %TMPFIL1% @echo %TMPFIL1%
@set /A TMPCNT+=1
)
@if EXIST %TMPFIL2% (
@echo %TMPFIL2% @echo %TMPFIL2%
@set /A TMPCNT+=1
)
@if EXIST %TMPFIL3% (
@echo %TMPFIL3% @echo %TMPFIL3%
@set /A TMPCNT+=1
)
@if "%TMPCNT%x" == "0x" goto NOPUB
@echo.
@echo Will publish %TMPCNT% files to %TMPDD%
@echo. @echo.
@echo *** CONTINUE?% @echo *** CONTINUE?%
@%DOPAUSE% @%DOPAUSE%
@ -42,18 +51,25 @@ if "%1x" == "NOPAUSEx" (
@if NOT EXIST %TMPDD%\nul goto NODST @if NOT EXIST %TMPDD%\nul goto NODST
) )
@if EXIST %TMPFIL1% (
@set TMPSRC=%TMPFIL1% @set TMPSRC=%TMPFIL1%
@set TMPDST=%TMPDD%\%TMPFIL1% @set TMPDST=%TMPDD%\%TMPFIL1%
@call :CHKCOPY @call :CHKCOPY
)
@if EXIST %TMPFIL2% (
@set TMPSRC=%TMPFIL2% @set TMPSRC=%TMPFIL2%
@set TMPDST=%TMPDD%\%TMPFIL2% @set TMPDST=%TMPDD%\%TMPFIL2%
@call :CHKCOPY @call :CHKCOPY
)
@if EXIST %TMPFIL3% (
@set TMPSRC=%TMPFIL3% @set TMPSRC=%TMPFIL3%
@set TMPDST=%TMPDD%\%TMPFIL3% @set TMPDST=%TMPDD%\%TMPFIL3%
@call :CHKCOPY @call :CHKCOPY
)
@echo. @echo.
@echo Maybe time to run 'gentidyyml %TMPBIN%' @echo If done all bins, WIN32, WIN64, linux, ... maybe time to run 'gentidyyml %TMPBIN%'
@echo. @echo.
@goto END @goto END
@ -85,26 +101,20 @@ copy %TMPSRC% %TMPDST%
@echo. @echo.
@goto :EOF @goto :EOF
:NODST :NODST
@echo Error: Unable to create %TMPDD% @echo Error: Unable to create %TMPDD%
@goto END @goto END
:NOPUB
@echo Appears no files to PUBLISH!
:NOFIL1 :NOFIL1
@echo Can NOT locate %TMPFIL1%! *** FIX ME *** @echo Can NOT locate %TMPFIL1%! *** FIX ME ***
@goto CHKBB
:NOFIL2 :NOFIL2
@echo Can NOT locate %TMPFIL2%! *** FIX ME *** @echo Can NOT locate %TMPFIL2%! *** FIX ME ***
@goto CHKBB
:NOFIL3 :NOFIL3
@echo Can NOT locate %TMPFIL3%! *** FIX ME *** @echo Can NOT locate %TMPFIL3%! *** FIX ME ***
@goto CHKBB
:CHKBB
@echo.
@echo Have you run build-bins.bat?
@echo.
@goto END @goto END

View file

@ -1,4 +1,5 @@
@setlocal @setlocal
@set TMPWV=win64
@set TMPSRC=../.. @set TMPSRC=../..
@set TMPNAME=tidy @set TMPNAME=tidy
@set TMPFIL=%TMPSRC%\version.txt @set TMPFIL=%TMPSRC%\version.txt
@ -21,17 +22,26 @@
@set DOPAUSE=echo No pause requested... @set DOPAUSE=echo No pause requested...
) )
@set TMPFIL1=%TMPNAME%-%TMPVER%-win64.exe
@set TMPFIL2=%TMPNAME%-%TMPVER%-win64.msi
@set TMPFIL3=%TMPNAME%-%TMPVER%-win64.zip
@if NOT EXIST %TMPFIL1% goto NOFIL1
@if NOT EXIST %TMPFIL2% goto NOFIL2
@if NOT EXIST %TMPFIL3% goto NOFIL3
@echo.
@echo Will publish... @echo Will publish...
@set TMPCNT=0
@set TMPFIL1=%TMPNAME%-%TMPVER%-%TMPWV%.exe
@set TMPFIL2=%TMPNAME%-%TMPVER%-%TMPWV%.msi
@set TMPFIL3=%TMPNAME%-%TMPVER%-%TMPWV%.zip
@if EXIST %TMPFIL1% (
@echo %TMPFIL1% @echo %TMPFIL1%
@set /A TMPCNT+=1
)
@if EXIST %TMPFIL2% (
@echo %TMPFIL2% @echo %TMPFIL2%
@set /A TMPCNT+=1
)
@if EXIST %TMPFIL3% (
@echo %TMPFIL3% @echo %TMPFIL3%
@set /A TMPCNT+=1
)
@if "%TMPCNT%x" == "0x" goto NOPUB
@echo.
@echo Will publish %TMPCNT% files to %TMPDD%
@echo. @echo.
@echo *** CONTINUE?% @echo *** CONTINUE?%
@%DOPAUSE% @%DOPAUSE%
@ -41,18 +51,25 @@
@if NOT EXIST %TMPDD%\nul goto NODST @if NOT EXIST %TMPDD%\nul goto NODST
) )
@if EXIST %TMPFIL1% (
@set TMPSRC=%TMPFIL1% @set TMPSRC=%TMPFIL1%
@set TMPDST=%TMPDD%\%TMPFIL1% @set TMPDST=%TMPDD%\%TMPFIL1%
@call :CHKCOPY @call :CHKCOPY
)
@if EXIST %TMPFIL2% (
@set TMPSRC=%TMPFIL2% @set TMPSRC=%TMPFIL2%
@set TMPDST=%TMPDD%\%TMPFIL2% @set TMPDST=%TMPDD%\%TMPFIL2%
@call :CHKCOPY @call :CHKCOPY
)
@if EXIST %TMPFIL3% (
@set TMPSRC=%TMPFIL3% @set TMPSRC=%TMPFIL3%
@set TMPDST=%TMPDD%\%TMPFIL3% @set TMPDST=%TMPDD%\%TMPFIL3%
@call :CHKCOPY @call :CHKCOPY
)
@echo. @echo.
@echo Maybe time to run 'gentidyyml %TMPBIN%' @echo If done all bins, WIN32, WIN64, linux, ... maybe time to run 'gentidyyml %TMPBIN%'
@echo. @echo.
@goto END @goto END
@ -88,16 +105,14 @@ copy %TMPSRC% %TMPDST%
:NODST :NODST
@echo Error: Unable to create %TMPDD% @echo Error: Unable to create %TMPDD%
@goto END
:NOPUB
@echo Appears no files to PUBLISH!
:NOFIL1 :NOFIL1
@echo Can NOT locate %TMPFIL1%! *** FIX ME *** @echo Can NOT locate %TMPFIL1%! *** FIX ME ***
@goto END
:NOFIL2 :NOFIL2
@echo Can NOT locate %TMPFIL2%! *** FIX ME *** @echo Can NOT locate %TMPFIL2%! *** FIX ME ***
@goto END
:NOFIL3 :NOFIL3
@echo Can NOT locate %TMPFIL3%! *** FIX ME *** @echo Can NOT locate %TMPFIL3%! *** FIX ME ***
@goto END @goto END

View file

@ -1,4 +1,10 @@
# Version history at 2015/09/06 18:36:46 # Version history at 2015/10/01 13:45:03
5.1.14 fa43957b6d Geoff McLane Sun Sep 27 17:38:08 2015 +0200
5.1.13 7cf9fc2906 Geoff McLane Fri Sep 25 13:00:06 2015 +0200
5.1.12 f4113a8643 Geoff McLane Mon Sep 21 12:34:29 2015 +0200
5.1.11 b2118fa09a Geoff McLane Sat Sep 19 14:59:58 2015 +0200
5.1.10 d541405a2a Geoff McLane Wed Sep 16 13:17:50 2015 +0200
5.1.9 1c187f8179 Geoff McLane Thu Sep 10 15:02:38 2015 +0200
5.1.8 87e0e11b49 Geoff McLane Fri Sep 4 15:03:08 2015 +0200 5.1.8 87e0e11b49 Geoff McLane Fri Sep 4 15:03:08 2015 +0200
5.1.7 fd056e353b Geoff McLane Sat Aug 22 14:04:38 2015 +0200 5.1.7 fd056e353b Geoff McLane Sat Aug 22 14:04:38 2015 +0200
5.1.6 5380eb0413 Geoff McLane Sat Aug 22 14:00:56 2015 +0200 5.1.6 5380eb0413 Geoff McLane Sat Aug 22 14:00:56 2015 +0200