mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
[CI] Fix B2 build files
This commit is contained in:
parent
074c82315c
commit
56f68565c8
4 changed files with 47 additions and 43 deletions
|
|
@ -9,21 +9,22 @@ setlocal
|
|||
|
||||
rem error if BOOST_ROOT not set
|
||||
set BOOST=%BOOST_ROOT%
|
||||
set PROJECT_DIR=%cd%
|
||||
|
||||
pushd ..\test
|
||||
%BOOST%\b2.exe -q %BUILD_ARGS% %*
|
||||
popd
|
||||
cd %BOOST%
|
||||
b2.exe %PROJECT_DIR%\test -q %BUILD_ARGS% %*
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
|
||||
set BOOSTBOOK_DIR=..\bin\turtle\boostbook
|
||||
cd %PROJECT_DIR%
|
||||
set BOOSTBOOK_DIR=%PROJECT_DIR%\bin\turtle\boostbook
|
||||
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\xsl %BOOSTBOOK_DIR%\xsl
|
||||
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\dtd %BOOSTBOOK_DIR%\dtd
|
||||
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\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 build\boostbook %BOOSTBOOK_DIR%
|
||||
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\callouts\*.png doc\html\images\callouts
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
pushd ..\doc
|
||||
%BOOST%\b2.exe -q %*
|
||||
popd
|
||||
|
||||
cd %BOOST%
|
||||
b2.exe %PROJECT_DIR%\doc -q %*
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue