mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed error management
This commit is contained in:
parent
8c68e7a63e
commit
e41b75e525
1 changed files with 3 additions and 11 deletions
|
|
@ -6,13 +6,6 @@ rem Distributed under the Boost Software License, Version 1.0.
|
||||||
rem (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
rem (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
setlocal
|
setlocal
|
||||||
goto Start
|
|
||||||
|
|
||||||
:Error
|
|
||||||
color 00
|
|
||||||
goto :eof
|
|
||||||
|
|
||||||
:Start
|
|
||||||
|
|
||||||
rem error if BOOST_ROOT not set
|
rem error if BOOST_ROOT not set
|
||||||
set BOOST=%BOOST_ROOT%
|
set BOOST=%BOOST_ROOT%
|
||||||
|
|
@ -20,7 +13,7 @@ set BOOST=%BOOST_ROOT%
|
||||||
pushd ..\test
|
pushd ..\test
|
||||||
%BOOST%\b2 -q %*
|
%BOOST%\b2 -q %*
|
||||||
popd
|
popd
|
||||||
if errorlevel 1 goto Error
|
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||||
|
|
||||||
set BOOSTBOOK_DIR=..\bin\turtle\boostbook
|
set BOOSTBOOK_DIR=..\bin\turtle\boostbook
|
||||||
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\xsl %BOOSTBOOK_DIR%\xsl
|
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\xsl %BOOSTBOOK_DIR%\xsl
|
||||||
|
|
@ -29,9 +22,8 @@ xcopy /Y /S /Q /I boostbook %BOOSTBOOK_DIR%
|
||||||
xcopy /Y /S /Q /I %BOOST%\doc\src\boostbook.css ..\doc\html
|
xcopy /Y /S /Q /I %BOOST%\doc\src\boostbook.css ..\doc\html
|
||||||
xcopy /Y /S /Q /I %BOOST%\doc\src\images\*.png ..\doc\html\images
|
xcopy /Y /S /Q /I %BOOST%\doc\src\images\*.png ..\doc\html\images
|
||||||
xcopy /Y /S /Q /I %BOOST%\doc\src\images\callouts\*.png ..\doc\html\images\callouts
|
xcopy /Y /S /Q /I %BOOST%\doc\src\images\callouts\*.png ..\doc\html\images\callouts
|
||||||
if errorlevel 1 goto Error
|
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||||
pushd ..\doc
|
pushd ..\doc
|
||||||
%BOOST%\b2 -q %*
|
%BOOST%\b2 -q %*
|
||||||
popd
|
popd
|
||||||
|
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||||
:End
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue