text
stringlengths
0
834k
)
FOR %%X IN (ninja.exe) DO (
SET NinjaFound=%%~$PATH:X
)
IF DEFINED NinjaFound (
SET Generator=Ninja
) ELSE (
SET Generator=JOM
)
TITLE Making the general documentation for [lib]OpenCOR (using !Generator!)...
IF NOT DEFINED NinjaFound (
IF EXIST ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"" (
CALL ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat""
) ELSE (
CALL ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat""
)
)
CD build
IF DEFINED NinjaFound (
SET CMakeGenerator=Ninja
) ELSE (
SET CMakeGenerator=NMake Makefiles
)
cmake -G ""!CMakeGenerator!"" -DMODE=!Mode! -DENABLE_DOWNLOADS=ON ..
SET ExitCode=!ERRORLEVEL!
IF !ExitCode! EQU 0 (
FOR /F ""TOKENS=1,* DELIMS= "" %%X IN (""%*"") DO (
SET Args=%%Y
)
IF DEFINED NinjaFound (
ninja !Args!
SET ExitCode=!ERRORLEVEL!
) ELSE (
nmake /f Makefile !Args!
SET ExitCode=!ERRORLEVEL!
)
)
CD ..
EXIT /B !ExitCode!
",20.1818181818,110,0.6373873874
219289,d2d1a19872aaeb39797445e5c4f531a23a12ef8a,128,bat,Batchfile,Data/DemoTest/goDx9.bat,mrneo240/suicide-barbie,c8b01f9c04755e7f6d1d261fc4a1600cd6705b96,['MIT'],57.0,2021-01-02T00:18:22.000Z,2022-03-27T14:40:25.000Z,Data/DemoTest/goDx9.bat,mrneo240/suicide-barbie,c8b01f9c04755e7f6d1d261fc4a1600cd6705b96,['MIT'],1.0,2...
@call buildSceneDx9.bat flower
@call buildSceneDx9.bat telephone_s1
@call buildSceneDx9.bat walk01
",25.6,36,0.84375
219290,d2d1f26020e4d6d50735901a3dda422382681e62,335,cmd,Batchfile,TestSuites/RDP/src/Batch/RDPEGFX/Rdpegfx_ClearCodec_PositiveTest_GlyphHitEnabled_DiffRect.cmd,LiuXiaotian/WindowsProtocolTestSuites,39b956f6d04db73d890bf08c0a3cc36688ec2a90,['MIT'],,,,TestSuites/RDP/src/Batch/RDPEGFX/Rdpegfx_ClearCodec_PositiveTest_Glyph...
:: Licensed under the MIT license. See LICENSE file in the project root for full license information.
..\CommonRunTestCase.cmd ""..\..\Bin\RDP_ClientTestSuite.dll"" /Settings:..\..\Bin\ClientLocal.TestSettings /Tests:Rdpegfx_ClearCodec_PositiveTest_GlyphHitEnabled_DiffRect
pause
",55.8333333333,172,0.7820895522
219291,d2d1fb2e6e70d5884f0a83cff2a476668d8b4ab0,2506,bat,Batchfile,scripts/data_import.bat,ericziethen/legocollector,06aa984a5998979e7aa9c59e94a38633d653de55,['MIT'],1.0,2020-12-21T22:23:09.000Z,2020-12-21T22:23:09.000Z,scripts/data_import.bat,ericziethen/legocollector,06aa984a5998979e7aa9c59e94a38633d653de55,['MIT'],1...
setlocal
set PROJ_MAIN_DIR=%~dp0..
set PACKAGE_ROOT=legocollector
pushd ""%PROJ_MAIN_DIR%\%PACKAGE_ROOT%""
set IMPORT_DATE=2019.12.04
set REBRICKABLE_CSV_FILES_DIR=D:\Downloads\Finished\# Lego\rebrickable.com\Downloads\%IMPORT_DATE%
set REBRICKABLE_PART_SCRAPE_FILE_PATH=D:\Downloads\Finished\# Lego\rebrickable.com\Scraped\%IMPORT_DATE%\parts_scraped.json
set BRICKLINK_PART_FILE_PATH=D:\Downloads\Finished\# Lego\bricklink.com\%IMPORT_DATE%\Parts.xml
set LDRAW_PARTS_FILE_PATH=D:\Downloads\Finished\# Lego\ldraw\# Processed Data\%IMPORT_DATE%\ldraw_studcount.json
echo %date% - %time%
rem Check our Files Exists
if not exist ""%REBRICKABLE_CSV_FILES_DIR%"" echo Cannot find ""%REBRICKABLE_CSV_FILES_DIR%"" & goto error
if not exist ""%REBRICKABLE_PART_SCRAPE_FILE_PATH%"" echo Cannot find ""%REBRICKABLE_PART_SCRAPE_FILE_PATH%"" & goto error
if not exist ""%BRICKLINK_PART_FILE_PATH%"" echo Cannot find ""%BRICKLINK_PART_FILE_PATH%"" & goto error
if not exist ""%LDRAW_PARTS_FILE_PATH%"" echo Cannot find ""%LDRAW_PARTS_FILE_PATH%"" & goto error
rem Show Initial Counts
python manage.py show_db_details
rem Import the Rebrickable Data
python manage.py import_rebrickable_data ""%REBRICKABLE_CSV_FILES_DIR%""
if %errorlevel% gtr 0 goto error
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
rem Import Rebrickable Scraped Parts Details
python manage.py import_rebrickable_scraped_parts ""%REBRICKABLE_PART_SCRAPE_FILE_PATH%""
if %errorlevel% gtr 0 goto error