text stringlengths 0 834k |
|---|
echo ##CI_STEAM_PASSWORD=password# |
echo ##CI_STEAM_VDF=path/to/steamcmd_app.vdf# |
echo ##CI_STEAM_BUILDER_DIR=%STEAMWORKS_SDK_HOME%\\tools\\ContentBuilder\\builder#",39.6,82,0.8106060606 |
220061,f34438da136a7a44ecc66e9e69a222deb6525196,101,bat,Batchfile,install_bluetooth.bat,Aymkdn/assistant-bluetooth,1167478a6162747620d62b05699cf9bafc928ff7,['MIT'],3.0,2018-10-22T17:45:21.000Z,2019-01-28T16:13:20.000Z,install_bluetooth.bat,Aymkdn/assistant-bluetooth,1167478a6162747620d62b05699cf9bafc928ff7,['MIT'],3.0,... |
",50.5,100,0.7623762376 |
220062,f34449a9a309b0c52b7956f3ae8a4d09bacca8a9,3062,bat,Batchfile,build.bat,aslatas/render,79b239e8d9f92309d643049fab44216eb4f24449,['MIT'],,,,build.bat,aslatas/render,79b239e8d9f92309d643049fab44216eb4f24449,['MIT'],9.0,2019-05-09T02:26:55.000Z,2019-05-10T15:26:39.000Z,build.bat,aslatas/render,79b239e8d9f92309d643049... |
:: Set build tool and library paths as well as compile flags here. :: |
::----------------------------------------------------------------------------:: |
set debug_flags=/Od /Z7 /MT |
set release_flags=/O2 /GL /MT /analyze- /D ""NDEBUG"" |
set common_flags=/W3 /Gm- /EHsc /std:c++17 /nologo /Fe: NYCE.exe /I ..\..\include /I ..\..\ext ..\..\src\Win32PlatformLayer.cpp |
set linker_flags=User32.lib Kernel32.lib Gdi32.lib /INCREMENTAL:no /NOLOGO |
:: Run the build tools, but only if they aren't set up already. :: |
::----------------------------------------------------------------------------:: |
cl >nul 2>nul |
if %errorlevel% neq 9009 goto :build |
echo Running VS build tool setup. |
echo Initializing MS build tools... |
call windows\setup_cl.bat |
cl >nul 2>nul |
if %errorlevel% neq 9009 goto :build |
echo Unable to find build tools! Make sure that you have Microsoft Visual Studio 10 or above installed! |
exit /b 1 |
:: Set the build mode, and create the build directory if necessary. :: |
::----------------------------------------------------------------------------:: |
:build |
set mode=debug |
if /i $%1 equ $release (set mode=release) |
if %mode% equ debug ( |
set flags=%common_flags% %debug_flags% |
) else ( |
set flags=%common_flags% %release_flags% |
) |
echo Building in %mode% mode. |
if not exist build\%mode% mkdir build\%mode% |
pushd build\%mode% |
:: Perform the actual build. :: |
::----------------------------------------------------------------------------:: |
echo. -Compiling: |
call cl %flags% /link %linker_flags% |
del *.obj |
if %errorlevel% neq 0 ( |
echo Error during compilation! |
popd |
goto :fail |
) |
popd |
:: Compile shaders and stuff. Needs replaced with a better system. :: |
::----------------------------------------------------------------------------:: |
echo. -Compiling shaders: |
pushd shaders |
call compile.cmd |
if %errorlevel% neq 0 ( |
echo Error during shader compilation! |
popd |
goto :fail |
) |
popd |
:: Copy resources. Should be replaced by a proper hotloading system. :: |
::----------------------------------------------------------------------------:: |
if not exist build\%mode%\resources mkdir build\%mode%\resources |
if not exist build\%mode%\resources\shaders mkdir build\%mode%\resources\shaders |
robocopy shaders\spv build\%mode%\resources\shaders *.spv /move /mir /ns /nc /nfl /ndl /np /njh /njs |
echo. -Copying Textures: |
if not exist build\%mode%\resources\textures mkdir build\%mode%\resources\textures |
robocopy resources\textures build\%mode%\resources\textures /mir /ns /nc /ndl /np /njh /njs |
echo. -Copying Fonts: |
if not exist build\%mode%\resources\fonts mkdir build\%mode%\resources\fonts |
robocopy resources\fonts build\%mode%\resources\fonts /mir /ns /nc /ndl /np /njh /njs |
echo. -Copying Models: |
if not exist build\%mode%\resources\models mkdir build\%mode%\resources\models |
robocopy resources\models build\%mode%\resources\models /mir /ns /nc /ndl /np /njh /njs |
echo Build complete! |
exit /b 0 |
:fail |
echo Build failed! |
exit /b %errorlevel%",36.8915662651,127,0.5930764206 |
220063,f344c0842ac93f32c366971de73455ca455af1aa,284,bat,Batchfile,samples/www/utilities/convert_suffix.bat,oharasteve/eagle,7d440333ecae0d04a6b7385e28c654a58140ddb4,['Apache-2.0'],,,,samples/www/utilities/convert_suffix.bat,oharasteve/eagle,7d440333ecae0d04a6b7385e28c654a58140ddb4,['Apache-2.0'],,,,samples/www/utilitie... |
@if ""%~3"" == """" echo Need a dir and two suffixes && goto :eof |
@if not exist ""%~1\*%~2"" echo Can't find ""%~1\*%~2"" && goto :eof |
@for /r ""%~1"" %%i in ( *%~2 ) do @call :do1 ""%%i"" ""%~3"" |
@goto :eof |
:do1 |
@echo move ""%~dpnx1"" ""%~dpn1%~2"" |
@move ""%~dpnx1"" ""%~dpn1%~2"" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.