doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
fb1ba12d-e006-45a1-8d0c-849f814eeaa3
{ "language": "Batchfile" }
```batchfile echo off setlocal REM elevated window does not set current directory correctly. REM Workaround it by passing the current directory around pushd %1 echo BridgeKeepRunning=%BridgeKeepRunning% if '%BridgeKeepRunning%' neq 'true' ( echo Stopping the Bridge.exe task locally... Taskkill /IM bridge.exe ...
```batchfile echo off setlocal pushd %~dp0 echo BridgeKeepRunning=%BridgeKeepRunning% if '%BridgeKeepRunning%' neq 'true' ( echo Stopping the Bridge.exe task locally... Taskkill /IM bridge.exe /F netsh http delete sslcert ipport=0.0.0.0:44285 certutil.exe -delstore my "85 58 be 22 44 5e 00 96 4d 0e 4c ...
dac9a39d-c311-41d7-87b3-d338b6f70478
{ "language": "Batchfile" }
```batchfile PATH=C:\python26;C:\progra~2\7-zip;%PATH% del /q /s dist\*.* python setup.py py2exe cd dist 7z d library.zip jinja2\* dns\* 'graphy\* 7z a namebench_for_Windows.zip -r * namebench -x -O 8.8.8.8 -t5 -o test.html start test.html cd .. ``` Remove w9xopen.exe and add README.txt to Windows build
```batchfile PATH=C:\python26;C:\progra~2\7-zip;%PATH% del /q /s dist\*.* python setup.py py2exe cd dist 7z d library.zip jinja2\* dns\* 'graphy\* del /s w9xpopen.exe copy ..\README.txt . 7z a namebench_for_Windows.zip -r * namebench -x -O 8.8.8.8 -t5 -o test.html start test.html cd .. ```
7bacc836-f26d-4670-a26a-5f00d1368f6e
{ "language": "Batchfile" }
```batchfile mkdir uvision_release git rev-parse --verify HEAD > uvision_release\git_info.txt git diff --no-ext-diff --quiet --exit-code >> uvision_release\git_info.txt echo Uncommitted Changes: %errorlevel% >> uvision_release\git_info.txt virtualenv env call env\Scripts\activate pip i...
```batchfile mkdir uvision_release git rev-parse --verify HEAD > uvision_release\git_info.txt git diff --no-ext-diff --quiet --exit-code >> uvision_release\git_info.txt echo Uncommitted Changes: %errorlevel% >> uvision_release\git_info.txt virtualenv env call env\Scripts\activate REM u...
809ce693-e242-4d37-b845-d0ab9f6817fe
{ "language": "Batchfile" }
```batchfile echo=off set ssleay=%1% set tmp1=pem.out set cmp=fc.exe call tpem.bat crl ..\test\testcrl.pem if errorlevel 1 goto err call tpem.bat pkcs7 ..\test\testp7.pem if errorlevel 1 goto err call tpem.bat req ..\test\testreq.pem if errorlevel 1 goto err call tpem.bat req ..\test\testreq2.pem if ...
```batchfile echo=off set ssleay=%1% set tmp1=pem.out set cmp=fc.exe call tpem.bat crl ..\test\testcrl.pem if errorlevel 1 goto err call tpem.bat pkcs7 ..\test\testp7.pem if errorlevel 1 goto err call tpem.bat req ..\test\testreq2.pem if errorlevel 1 goto err call tpem.bat rsa ..\test\testrsa.pem if ...
e89d0b9a-a3c9-45ef-a143-b6af59730e6c
{ "language": "Batchfile" }
```batchfile cd bin project_generate.exe --enable-gpl --enable-version3 --enable-avisynth --enable-nonfree --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libopus --enable-libilbc --enable-libfdk-aac --enable-libtheora --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libgme...
```batchfile cd bin project_generate.exe --enable-gpl --enable-version3 --enable-avisynth --enable-nonfree --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libopus --enable-libilbc --enable-libfdk-aac --enable-libtheora --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libgme...
681eae08-8a54-47c0-9351-06dc60b06096
{ "language": "Batchfile" }
```batchfile set projectPath=%~dp0 if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% set projectPath=%projectPath%\.. set releasePath=%projectPath%\.release mkdir "%releasePath%" copy "%projectPath%\version.json" versiontemp.json for /f "tokens=*" %%a in ('jq .Version versiontemp.json --raw-output') do set ...
```batchfile set projectPath=%~dp0 if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% set projectPath=%projectPath%\.. set releasePath=%projectPath%\.release mkdir "%releasePath%" copy "%projectPath%\version.json" versiontemp.json for /f "tokens=*" %%a in ('jq .Version versiontemp.json --raw-output') do set ...
b4526366-c70f-4da3-98f1-3888ec256364
{ "language": "Batchfile" }
```batchfile %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild debugler.sln /p:VisualStudioVersion=11.0 /m /nologo /t:Build /p:Configuration=Release;platform=x64 if %errorlevel% neq 0 exit /b %errorlevel% %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild debugler.sln /p:VisualStudioVersion=11.0 /m /nologo /t:Bui...
```batchfile %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild debugler.sln /p:VisualStudioVersion=11.0 /m /nologo /t:Build /p:Configuration=Release;platform=Win32 if %errorlevel% neq 0 exit /b %errorlevel% %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild debugler.sln /p:VisualStudioVersion=11.0 /m /nologo /t:B...
130d4748-b81c-4570-b26a-d170d7bda611
{ "language": "Batchfile" }
```batchfile %NUGET% restore GladNetV2.sln -NoCache -NonInteractive -ConfigFile Nuget.config msbuild GladNetV2.sln /p:Configuration=Release``` Remove config file from myget build
```batchfile %NUGET% restore GladNetV2.sln -NoCache -NonInteractive msbuild GladNetV2.sln /p:Configuration=Release```
d7fddf4e-0cba-4922-ba32-4b128898d9e2
{ "language": "Batchfile" }
```batchfile SET "JAVA_HOME=C:\opt\jdk-8" cd git-repo ./mvnw clean install``` Fix Windows build to use Java 17
```batchfile SET "JAVA_HOME=C:\opt\jdk-17" cd git-repo ./mvnw clean install```
2346b662-7ea2-4667-93fd-fc062bc6410d
{ "language": "Batchfile" }
```batchfile if %PY3K% equ 1 ( set BUILD_PYTHON="-DBUILD_PYTHON_INTERFACE=ON" ) else ( set BUILD_PYTHON="-DBUILD_PYTHON2_INTERFACE=ON" ) mkdir "%SRC_DIR%"\build pushd "%SRC_DIR%"\build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja" .. ninja ninja install mov...
```batchfile if %PY3K% equ 1 ( set BUILD_PYTHON="-DBUILD_PYTHON_INTERFACE=ON" ) else ( set BUILD_PYTHON="-DBUILD_PYTHON2_INTERFACE=ON" ) mkdir "%SRC_DIR%"\build pushd "%SRC_DIR%"\build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%PREFIX% -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja...
10426e69-5e89-411c-9c5f-22569741b810
{ "language": "Batchfile" }
```batchfile pip install -e ./kervi-devices pip install -e ./kervi-hal-generic pip install -e ./kervi-hal-rpi pip install -e ./kervi-hal-windows pip install -e ./kervi-cli pip install -e ./kervi-core pip install -e ./kervi-ui pip install --no-dependencies -e ./kervi pause ``` Fix issue with windows path
```batchfile pip install -e ./kervi-devices pip install -e ./kervi-hal-generic pip install -e ./kervi-hal-rpi pip install -e ./kervi-hal-win pip install -e ./kervi-cli pip install -e ./kervi-core pip install -e ./kervi-ui pip install --no-dependencies -e ./kervi pause ```
7fbc0b18-aa8f-4168-b624-62cc4fa09f08
{ "language": "Batchfile" }
```batchfile cd .. set "destination=testcoverage" rmdir /q /s %destination% mkdir %destination% cd content/tests dotnet test /p:AltCover=true mv coverage.xml ../../%destination%/coverage.xml cd ../../%destination% set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.0.13.1\tools\net47\ReportGenerator...
```batchfile cd .. set "destination=testcoverage" rmdir /q /s %destination% mkdir %destination% cd content/tests dotnet test /p:AltCover=true mv coverage.xml ../../%destination%/coverage.xml cd ../../%destination% set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.0.15\tools\net47\ReportGenerator.e...
2e19a173-6e96-4591-b032-a1cde9922647
{ "language": "Batchfile" }
```batchfile cmake -DCMAKE_INSTALL_PREFIX=%PREFIX% -G "Ninja" -DCMAKE_PREFIX_PATH=%PREFIX% ninja ninja install ``` Update build script on windows
```batchfile cmake -G "Ninja" ^ -DCMAKE_PREFIX_PATH=%PREFIX% ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_FIND_ROOT_PATH="%LIBRARY_PREFIX%" ^ -DCMAKE_BUILD_TYPE=Release ninja ninja install ```
24cf4096-768d-451a-b573-65776c2cdd36
{ "language": "Batchfile" }
```batchfile if exist "%CATALINA_HOME%/jre${jdk.windows.version}/win" ( if not "%JAVA_HOME%" == "" ( set JAVA_HOME= ) set "JRE_HOME=%CATALINA_HOME%/jre${jdk.windows.version}/win" ) set "CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.ap...
```batchfile if exist "%CATALINA_HOME%/jre${jdk.windows.version}/win" ( if not "%JAVA_HOME%" == "" ( set JAVA_HOME= ) set JRE_HOME="%CATALINA_HOME%/jre${jdk.windows.version}/win" ) set CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apac...
06652d2b-1f4e-4d42-a35a-66c49ca42f4b
{ "language": "Batchfile" }
```batchfile @echo off REM TODO: detect these automatically. Probably a job for PowerShell... set PROJECTS=Benchmarks,CodeDiagnostics,CodeDiagnostics.Test,Demo set PROJECTS=%PROJECTS%,Serialization.JsonNet,Serialization.Test,Test set PROJECTS=%PROJECTS%,TzdbCompiler.Test,Web for %%p in (%PROJECTS%) DO ( e...
```batchfile @echo off pushd src for %%s in (*.sln) DO ( echo Restoring %%s packages nuget restore %%s ) popd src ```
200a5183-755b-4e56-87f7-3720bb48ac67
{ "language": "Batchfile" }
```batchfile @ECHO OFF SET BASEDIR=%~dp0 PUSHD %BASEDIR% IF NOT EXIST pyenv\NUL GOTO NOENVDIR ECHO removing existing environment RMDIR /S /Q pyenv :NOENVDIR virtualenv pyenv CALL pyenv\Scripts\activate python -m pip install -r pyenv.pkgs --no-cache-dir CALL pyenv\Scripts\deactivate POPD ``` Install mechanical sou...
```batchfile @ECHO OFF SET BASEDIR=%~dp0 PUSHD %BASEDIR% IF NOT EXIST pyenv\NUL GOTO NOENVDIR ECHO removing existing environment RMDIR /S /Q pyenv :NOENVDIR virtualenv pyenv CALL pyenv\Scripts\activate pip install mechanicalsoup pip install -r pyenv.pkgs CALL pyenv\Scripts\deactivate POPD ```
be95c3b1-fd8b-4919-91da-bc91902dd4d7
{ "language": "Batchfile" }
```batchfile IF "%1"=="" ( GOTO HELL ) ELSE ( SET _TAG_=v%1 ) IF NOT "%2"=="" ( SET _TAG_=%_TAG_%.%2 ) rem git remote set-url origin https://%3:%4@github.com/wasteam/waslibs.git git tag -a %_TAG_% -m "Version built: %_TAG_%" git push origin %_TAG_% GOTO END :HELL ECHO VERSION NOT FOUND EXIT -1 :END ECHO PR...
```batchfile IF "%1"=="" ( GOTO HELL ) ELSE ( SET _TAG_=v%1 ) IF NOT "%2"=="" ( SET _TAG_=%_TAG_%.%2 ) git config user.email "%3@outlook.com" git config user.name "%3" git remote set-url origin https://%3:%4@github.com/wasteam/waslibs.git git tag -a %_TAG_% -m "Version built: %_TAG_%" git push origin %_TAG_% ...
921b841a-7c6a-45a1-b0e8-9f177c9b13f1
{ "language": "Batchfile" }
```batchfile del "spec/*.js" call tsc "spec/ActorSpec.ts" -out "spec/ActorSpec.js" call tsc "spec/ColorSpec.ts" -out "spec/ColorSpec.js" call tsc "spec/PromiseSpec.ts" -out "spec/PromiseSpec.js" call tsc "spec/CollectionSpec.ts" -out "spec/CollectionSpec.js" call tsc "spec/LogSpec.ts" -out "spec/LogSpec.js" call jasmin...
```batchfile del "spec/*.js" call tsc "spec/ActorSpec.ts" -out "spec/ActorSpec.js" call tsc "spec/ColorSpec.ts" -out "spec/ColorSpec.js" call tsc "spec/PromiseSpec.ts" -out "spec/PromiseSpec.js" call tsc "spec/CollectionSpec.ts" -out "spec/CollectionSpec.js" call tsc "spec/LogSpec.ts" -out "spec/LogSpec.js" call tsc "s...
f6889fd6-4417-44e3-81cd-e72c130be571
{ "language": "Batchfile" }
```batchfile set DEST=install set SRC=deps\install xcopy %SRC%\bin\osg*-osg.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgDB.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgGA.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgText.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgUtil.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgViewer.dll %DEST% /Y xcopy %SRC%\bin\*...
```batchfile set DEST=install set SRC=deps\install xcopy %SRC%\bin\osg*-osg.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgDB.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgGA.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgText.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgUtil.dll %DEST% /Y xcopy %SRC%\bin\osg*-osgViewer.dll %DEST% /Y xcopy %SRC%\bin\*...
6a890c52-7b7a-482f-9894-16458f7ffb3e
{ "language": "Batchfile" }
```batchfile mkdir c:\projects\plib-build if "%APPVEYOR_REPO_BRANCH%"=="appveyor_test" ( set BOOST_ARGS=-DPLIB_TESTS_STATIC=ON -DBOOST_ROOT=C:\Libraries\boost_1_59_0 ) if "%USE_MINGW%"=="1" ( cd c:\projects\plib-build set PATH=C:\MinGW\bin;C:\Program Files (x86)\CMake\bin set BUILD_TYP...
```batchfile mkdir c:\projects\plib-build if "%APPVEYOR_REPO_BRANCH%"=="appveyor_test" ( set BOOST_ARGS=-DPLIB_TESTS_STATIC=ON -DBOOST_ROOT=C:\Libraries\boost_1_59_0 ) if "%USE_MINGW%"=="1" ( cd c:\projects\plib-build set PATH="C:\MinGW\bin;C:\Program Files (x86)\CMake\bin" set BUILD_T...
5774452f-e4a2-4604-bd51-54b3cd54f935
{ "language": "Batchfile" }
```batchfile fsi^ --optimize+^ --lib:NHol^ --use:system.fsx^ --use:lib.fs^ --use:fusion.fs^ --use:basics.fs^ --use:nets.fs^ --use:printer.fs^ --use:preterm.fs^ --use:parser.fs^ --use:equal.fs^ --use:bool.fs^ --use:drule.fs^ --use:tactics.fs^ --use:itab.fs^ --use:simp.fs^ --use:theorems...
```batchfile fsi^ --lib:NHol^ --use:system.fsx^ --use:lib.fs^ --use:fusion.fs^ --use:basics.fs^ --use:nets.fs^ --use:printer.fs^ --use:preterm.fs^ --use:parser.fs^ --use:equal.fs^ --use:bool.fs^ --use:drule.fs^ --use:tactics.fs^ --use:itab.fs^ --use:simp.fs^ --use:theorems.fs^ --use:in...
bae90bc8-2db5-4aae-b37a-8dbf50d2acfd
{ "language": "Batchfile" }
```batchfile @ECHO OFF ECHO Compiling pony-game... REM Link to Windows Kits and native libraries. REM http://tutorial.ponylang.org/appendices/compiler-args.html ponyc -p "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64" -p "Bin\PonyGameNative\x64\Debug" -o Bin\PonyGame Source\PonyGame ECHO Copying na...
```batchfile @ECHO OFF ECHO Compiling pony-game... REM Link to Windows Kits and native libraries. REM http://tutorial.ponylang.org/appendices/compiler-args.html ponyc -p "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64" -p "Bin\PonyGameNative\x64\Debug" -o Bin\PonyGame Source\PonyGame ECHO Copying na...
02f15213-39d0-43bb-9724-67df6310498c
{ "language": "Batchfile" }
```batchfile setlocal rem Put curl on the PATH set PATH=C:\Program Files\Git\mingw64\bin;%PATH% set VERSION=2.0.5 mkdir %TEMP%\hlint curl -o%TEMP%\hlint\hlint-%VERSION%.zip -L --insecure https://github.com/ndmitchell/hlint/releases/download/v%VERSION%/hlint-%VERSION%.zip 7z x %TEMP%\hlint\hlint-%VERSION%.zip -o%TEMP%\h...
```batchfile setlocal rem Put curl on the PATH set PATH=C:\Program Files\Git\mingw64\bin;%PATH% set VERSION=2.0.5 mkdir %TEMP%\hlint curl -o%TEMP%\hlint\hlint.zip -L --insecure https://github.com/ndmitchell/hlint/releases/download/v%VERSION%/hlint-%VERSION%-x86_64-windows.zip 7z x %TEMP%\hlint\hlint.zip -o%TEMP%\hlint ...
af8e99c5-cc90-447c-98f5-5ac4074416c0
{ "language": "Batchfile" }
```batchfile @echo on mkdir build-cpp if errorlevel 1 exit 1 cd build-cpp cmake .. ^ -GNinja ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_PREFIX_PATH=%CONDA_PREFIX% ^ -DCMAKE_INSTALL_PREFIX=%PREFIX% ^ -DgRPC_CARES_PROVIDER="package" ^ -DgRPC_GFLAGS_PROVIDER="package" ^ -DgRPC_PRO...
```batchfile @echo on @rem The `vs2015_win-64` compiler activate package sets CFLAGS and CXXFLAGS @rem to "-MD -GL". Unfortunately that causes a huge ballooning in static @rem library size (more than 100MB per .lib file). Unsetting those flags @rem simply works. set CFLAGS= set CXXFLAGS= mkdir build-cpp if errorle...
b0e9ad1a-6317-4276-a962-1603d2efc4e1
{ "language": "Batchfile" }
```batchfile echo Running Windows build and testscript %~dp0%\matlab\CIBuildAndTest.m call "C:\Program Files\MATLAB\R2015b\bin\matlab.exe" -wait -nodisplay -nosplash -nodesktop -r "try, run('%~dp0%\matlab\CIBuildAndTest.m'), catch ex, disp(['Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);" i...
```batchfile echo Running Windows build and testscript %~dp0..\\matlab\CIBuildAndTest.m call "C:\Program Files\MATLAB\R2015b\bin\matlab.exe" -wait -nodisplay -nosplash -nodesktop -r "try, run('%~dp0..\matlab\CIBuildAndTest.m'), catch ex, disp(['Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);"...
fe9a91ee-8bed-48ae-828c-5bc8a126be5c
{ "language": "Batchfile" }
```batchfile @echo off echo "Installing ONC/RPC for NT..." ..\bin\inst_pm remove copy ..\bin\oncrpc.dll %SystemRoot%\system32 copy ..\bin\portmap.exe %SystemRoot%\system32 if exist %SystemRoot%\system32\drivers\etc\rpc goto inst_pm mkdir %SystemRoot%\system32\drivers\etc copy ..\etc\rpc %SystemRoot%\system32\dri...
```batchfile @echo off echo "Installing ONC/RPC for NT..." ..\bin\inst_pm remove copy ..\lib\oncrpc.dll %SystemRoot%\system32 copy ..\bin\portmap.exe %SystemRoot%\system32 if exist %SystemRoot%\system32\drivers\etc\rpc goto inst_pm mkdir %SystemRoot%\system32\drivers\etc copy ..\etc\rpc %SystemRoot%\system32\dri...
7d1a1a42-d80c-4984-a098-def1f42f6e1f
{ "language": "Batchfile" }
```batchfile @echo off setlocal set ELECTRON_RUN_AS_NODE= pushd %~dp0\.. :: Get Code.exe location for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a set NAMESHORT=%NAMESHORT: "=% set NAMESHORT=%NAMESHORT:"=%.exe set CODE=".build\electron\%NAMESHORT%" :: Downlo...
```batchfile @echo off setlocal set ELECTRON_RUN_AS_NODE= pushd %~dp0\.. :: Get Code.exe location for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a set NAMESHORT=%NAMESHORT: "=% set NAMESHORT=%NAMESHORT:"=%.exe set CODE=".build\electron\%NAMESHORT%" :: Downlo...
3605f379-2822-4629-8ce6-5e74702ba3be
{ "language": "Batchfile" }
```batchfile @echo off pushd %~dp0 SET PACKAGEPATH=.\packages\ SET NUGET=.\tools\nuget\NuGet.exe SET NUGETOPTIONS=-ConfigFile .\tools\nuget\NuGet.Config -OutputDirectory %PACKAGEPATH% -ExcludeVersion IF NOT EXIST %PACKAGEPATH%FAKE\Ver_4.23.0 ( RD /S/Q %PACKAGEPATH%FAKE %NUGET% install FAKE -Version 4.23.0 %NUGET...
```batchfile @echo off pushd %~dp0 SET PACKAGEPATH=.\packages\ SET NUGET=.\tools\nuget\NuGet.exe SET NUGETOPTIONS=-ConfigFile .\tools\nuget\NuGet.Config -OutputDirectory %PACKAGEPATH% -ExcludeVersion IF NOT EXIST %PACKAGEPATH%FAKE\Ver_4.25.4 ( RD /S/Q %PACKAGEPATH%FAKE %NUGET% install FAKE -Version 4.25.4 %NUGET...
f46d0ba2-4526-4043-94dd-603149bb8257
{ "language": "Batchfile" }
```batchfile @echo off if exist src\fscanner.l goto dir_okay echo !!!! Must run this batch file from the main source directory! exit :dir_okay echo ---- Start by patching the ylwrap script to avoid problems echo with "ln -s": patch -p1 -i contrib/msdos/ylwrap.pat echo ---- Now configure and make ...
```batchfile @echo off if exist src\fscanner.l goto dir_okay echo !!!! Must run this batch file from the main source directory! exit :dir_okay echo ---- Start by patching the ylwrap script to avoid problems echo with "ln -s": patch -p1 -i packages/MSDOS/ylwrap.pat echo ---- Now configure and make...
b86fa628-bd76-4233-8102-32e3123fadb4
{ "language": "Batchfile" }
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%mypath%\python2.7\Scripts;%mypath%\python2.7;%PATH% set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath%\openquake.cfg doskey oq=python.exe -m openquake.commands.__main__ $* doskey oq-engine=python.exe -m openquake.commands.__main__ engine $* e...
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%mypath%\python2.7\Scripts;%mypath%\python2.7;%PATH% set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath%\openquake.cfg doskey oq=python.exe -m openquake.commands.__main__ $* doskey oq-engine=python.exe -m openquake.commands.__main__ engine $* e...
d31bf218-9b3e-48c0-b4b5-2dd6b211575a
{ "language": "Batchfile" }
```batchfile ``` Add a bat file to disable CEIP
```batchfile @echo off REM A bat file to disable Microsoft Compatibility Telemetry schtasks /End /TN "\Microsoft\Windows\Application Experience\AitAgent" schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE schtasks /End /TN "\Microsoft\Windows\Application Experience\Microsoft Compatib...
0b7bf178-f177-40e3-b23a-c00e2ec497cd
{ "language": "Batchfile" }
```batchfile rem The MIT License (MIT) rem Copyright (c) 2016, Microsoft rem Permission is hereby granted, free of charge, to any person obtaining a copy rem of this software and associated documentation files (the "Software"), to deal rem in the Software without restriction, including without limitation the rights r...
```batchfile rem The MIT License (MIT) rem Copyright (c) 2016, Microsoft rem Permission is hereby granted, free of charge, to any person obtaining a copy rem of this software and associated documentation files (the "Software"), to deal rem in the Software without restriction, including without limitation the rights r...
fc9ac4b8-4fe0-40a2-a060-eb96dcec013b
{ "language": "Batchfile" }
```batchfile @echo off cls :start echo Starting server... DedicatedServer64\SpaceEngineersDedicated.exe -console -path config -ip 0.0.0.0 -port 27016 -maxPlayers 10 echo. echo Restarting server... echo. goto start ``` Remove -path config from example .bat
```batchfile @echo off cls :start echo Starting server... DedicatedServer64\SpaceEngineersDedicated.exe -console -ip 0.0.0.0 -port 27016 -maxPlayers 10 echo. echo Restarting server... echo. goto start ```
5fd72408-2540-4a0e-b001-e9230e0b0070
{ "language": "Batchfile" }
```batchfile @echo off SET TAR= SET ZIP= SET EXT= SET CMD= FOR /f "delims=" %%i IN ('where tar') DO SET TAR=%%i FOR /f "delims=" %%i IN ('where zip') DO SET ZIP=%%i IF NOT "%TAR" == "" ( SET EXT=.tar.gz SET CMD=tar -C ../vendor/Popcorn/src/Pop -xpf ) ELSE IF NOT "%ZIP" == "" ( SET EXT=.zip SET CMD=unz...
```batchfile @echo off SET TAR= SET ZIP= SET EXT= SET CMD= FOR /f "delims=" %%i IN ('where tar') DO SET TAR=%%i FOR /f "delims=" %%i IN ('where zip') DO SET ZIP=%%i IF NOT "%TAR" == "" ( SET EXT=.tar.gz SET CMD=tar -C ../vendor/Popcorn/src/Pop -xpf ) ELSE IF NOT "%ZIP" == "" ( SET EXT=.zip SET CMD=unz...
5eb42a92-79b2-4ea6-b2cf-6058509d42c4
{ "language": "Batchfile" }
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%PATH%;%mypath%\python2.7 set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath% doskey oq-engine=python.exe -m openquake.engine.bin.openquake_cli $* doskey oq-lite=python.exe -m openquake.commonlib.commands $* echo OpenQuake environment loaded c...
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%PATH%;%mypath%\python2.7 set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath% doskey oq=python.exe -m openquake.commands.__main__ $* doskey oq-engine=python.exe -m openquake.commonlib.commands engine $* echo OpenQuake environment loaded cmd /k...
05bca449-cfbb-4725-8b02-6eb98b4475b5
{ "language": "Batchfile" }
```batchfile git subtree pull --squash --prefix=ThirdParty/WPFFutures https://github.com/FineRedMist/WPFFutures.git master``` Add ThemeSelector to the pull batch file.
```batchfile git subtree pull --squash --prefix=ThirdParty/WPFFutures https://github.com/FineRedMist/WPFFutures.git master git subtree pull --squash --prefix=ThirdParty/ThemeSelector https://github.com/FineRedMist/ThemeSelector.git master```
22baa901-2924-4459-bec6-1a366f2a95d8
{ "language": "Batchfile" }
```batchfile "%PYTHON%" setup.py install --ofline if errorlevel 1 exit 1 :: Add more build steps here, if they are necessary. :: See :: http://docs.continuum.io/conda/build.html :: for a list of environment variables that are set during the build process. ``` Remove --offline option from astroml recipe
```batchfile "%PYTHON%" setup.py install if errorlevel 1 exit 1 :: Add more build steps here, if they are necessary. :: See :: http://docs.continuum.io/conda/build.html :: for a list of environment variables that are set during the build process. ```
0d0c8afe-6929-4145-8112-8113f691bb15
{ "language": "Batchfile" }
```batchfile START /B qdb\bin\qdbd.exe -a 127.0.0.1:28360 --security=false --transient -r qdb/db START /B qdb\bin\qdbd.exe -a 127.0.0.1:28361 --security=true --cluster-private-file=cluster-secret-key.txt --user-list=users.txt --transient -r qdb/securedb ``` Update command line options for new windows services
```batchfile START /B qdb\bin\qdbd.exe -a 127.0.0.1:28360 --security=false --storage-engine=transient -r qdb/db START /B qdb\bin\qdbd.exe -a 127.0.0.1:28361 --security=true --cluster-private-file=cluster-secret-key.txt --user-list=users.txt --storage-engine=transient -r qdb/securedb ```
ed31e0b5-017d-4fbd-874a-53e366e9b988
{ "language": "Batchfile" }
```batchfile REM Configure Jemalloc build with options CMake -G "Visual Studio 12 Win64" -Ddisable-fill=1 -Dwith-malloc-conf=purge:decay .. REM Debug build settings REM CMake -G "Visual Studio 12 Win64" -Denable-debug=1 -Dwith-malloc-conf=junk:true ..``` Remove misleading comment causing some to configure Debug buil...
```batchfile REM Configure Jemalloc build with options CMake -G "Visual Studio 12 Win64" -Ddisable-fill=1 -Dwith-malloc-conf=purge:decay .. ```
b5bee1ef-cb94-43f9-8595-661eec028479
{ "language": "Batchfile" }
```batchfile @ECHO OFF PUSHD %~DP0 SET CURDIR=%CD% PUSHD .. SET TOPDIR=%CD% POPD POPD SET GDAL_ROOT=%TOPDIR%\OSGeo4W SET GDAL_PAM_PROXY_DIR=%TEMP% SET GDAL_DATA=%GDAL_ROOT%\apps\gdal-16\share\gdal SET GEOTIFF_CSV=%GDAL_ROOT%\share\epsg_csv SET PROJ_LIB=%GDAL_ROOT%\share\proj SET GDAL_DRIVER_PATH=%GDAL_RO...
```batchfile @ECHO OFF PUSHD %~DP0 SET CURDIR=%CD% PUSHD .. SET TOPDIR=%CD% POPD POPD SET GDAL_ROOT=%TOPDIR%\bin\gdal SET GDAL_PAM_PROXY_DIR=%TEMP% SET GDAL_DATA=%GDAL_ROOT%\share\gdal-data SET GEOTIFF_CSV=%GDAL_DATA% SET PROJ_LIB=%GDAL_ROOT%\share\proj SET GDAL_DRIVER_PATH=%GDAL_ROOT%\bin\plugins SET...
941476d1-6011-4e6a-a14b-7d340d2a463a
{ "language": "Batchfile" }
```batchfile @echo off rem ======================================================================== rem rem Copyright 2015-2017 Intel Corporation rem rem rem rem Licensed under the Apache License, Version 2.0 (th...
```batchfile @echo off rem ======================================================================== rem rem Copyright 2015-2017 Intel Corporation rem rem rem rem Licensed under the Apache License, Version 2.0 (th...
bd3189ab-6d13-4723-8012-4de6f47044a6
{ "language": "Batchfile" }
```batchfile mkdir -p classes javac -d classes src/adaptorlib/*java src/adaptorlib/tests/*java src/templateadaptor/*java cp src/logging.properties classes/ REM TODO: Reintroduce src/local-fs-adaptor/*java . ``` Use 'copy' instead of 'cp' on Windows
```batchfile mkdir -p classes javac -d classes src/adaptorlib/*java src/adaptorlib/tests/*java src/templateadaptor/*java copy src/logging.properties classes/ REM TODO: Reintroduce src/local-fs-adaptor/*java . ```
459a0e48-8683-4599-b2bd-1c070c0972c7
{ "language": "Batchfile" }
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res -x *.exp cd scintilla ``` Store OS X files in zips.
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* scintilla\*\*\*.* scintilla\*\*\*\*.* scintilla\*\*\*\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res -x *.exp cd scintilla ```
231b8bc5-3c34-49ef-ae27-ecb1fda365d6
{ "language": "Batchfile" }
```batchfile @echo off if not "%JAVA_HOME%" == "" goto gotJavaHome echo Java environment not found. Please set echo your JAVA_HOME environment variable to echo the home of you JDK. goto :eof :gotJavaHome set ANT_HOME=%EXIST_HOME%\tools set _LIBJARS=%CLASSPATH%;%ANT_HOME%\lib\ant-launcher.jar;%ANT_HOME%\lib\...
```batchfile @echo off if not "%JAVA_HOME%" == "" goto gotJavaHome echo Java environment not found. Please set echo your JAVA_HOME environment variable to echo the home of you JDK. goto :eof :gotJavaHome if not "%EXIST_HOME%" == "" goto gotExistHome set EXIST_HOME=%CD% :gotExistHome set ANT_HOME=%EXIST_...
2f5596f1-aad6-4077-8a44-b09bbcb0a993
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM vundle requires git WHERE git >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO Please install git first. && GOTO :EOF REM vundle requires curl WHERE curl >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO Please install curl first (see vundle windows install docs). && GOTO :EOF REM If _vimrc file already exists, ...
```batchfile @ECHO OFF REM This is required to enable reading of variables set in if statement blocks. REM Variables read with "!" e.g. !errorlevel! use delayed expansion. REM See http://ss64.com/nt/delayedexpansion.html for more info. setlocal enabledelayedexpansion REM vundle requires git WHERE git >nul 2>nul IF %ER...
f78996d0-6cdd-4bb2-8cd1-0db1dbc94cdb
{ "language": "Batchfile" }
```batchfile @echo off set DOTNET_VERSION=4.7.1 echo Check for installed .NET Framework %DOTNET_VERSION% reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework,Version=v%DOTNET_VERSION%" /ve >nul 2>&1 if %ERRORLEVEL% neq 0 ( echo ".NET Framework %DOTNET_VERSION% is not instal...
```batchfile @echo off if not exist "%ProgramFiles(x86)%" ( set "ProgramFiles(x86)=%ProgramFiles%" ) set "VSWhere=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" :MSBuild echo Looking for MSBuild for /f "usebackq delims=" %%i in (`^""%VSWhere%" -latest -version "[15.0,16.0)" -products * -require...
656b00d9-03f9-4a84-9259-36edd58955da
{ "language": "Batchfile" }
```batchfile @echo off WHERE dotnet >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO You need to install .NET Core from https://dot.net && EXIT \b 1 dotnet Decompiler.dll %* ``` Exit batch with dotnet's exit code
```batchfile @echo off WHERE dotnet >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO You need to install .NET Core from https://dot.net && EXIT /B 1 dotnet Decompiler.dll %* EXIT /B %errorlevel% ```
4588b128-91bc-4007-b9ef-e7a8196ca190
{ "language": "Batchfile" }
```batchfile if not exist "C:\Windows\Temp\puppet.msi" ( powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://downloads.puppetlabs.com/windows/puppet-3.3.0.msi', 'C:\Windows\Temp\puppet.msi')" <NUL ) :: http://docs.puppetlabs.com/pe/latest/install_windows.html msiexec /qn /i C:\Windows\Temp\pu...
```batchfile if not exist "C:\Windows\Temp\puppet.msi" ( powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://downloads.puppetlabs.com/windows/puppet-3.4.3.msi', 'C:\Windows\Temp\puppet.msi')" <NUL ) :: http://docs.puppetlabs.com/pe/latest/install_windows.html msiexec /qn /i C:\Windows\Temp\pu...
74230dae-6dcb-4779-90c2-ab7d92b72538
{ "language": "Batchfile" }
```batchfile @echo off pip install -r requirements.txt cd src copy src\settings\local.py.example src\settings\local.py pause ``` Delete buggy line ("cd src") in windows installer
```batchfile @echo off pip install -r requirements.txt copy src\settings\local.py.example src\settings\local.py pause ```
4d787fa7-b21c-4638-b887-3a8d23451113
{ "language": "Batchfile" }
```batchfile @ECHO OFF SETLOCAL SET LOG_PATH="H:\bravo_logs\" SET LOG_FILE="marvin_errors.log" IF NOT EXIST %LOG_PATH% (SET LOG_PATH="%USERPROFILE%\Desktop\") SET SCRIPT="%USERPROFILE%\Repos\standalone_scripts\upload_robot_logs.py" SET STB_CONF="%USERPROFILE%\Repos\statusdb.yaml" SET STB_LOG="%USERPROFILE%\Repos\status...
```batchfile @ECHO OFF SETLOCAL SET LOG_PATH="Y:\Bravo\bravo_logs\" SET LOG_FILE="marvin_errors.log" IF NOT EXIST %LOG_PATH% (SET LOG_PATH="%USERPROFILE%\Desktop\") SET SCRIPT="%USERPROFILE%\Repos\standalone_scripts\upload_robot_logs.py" SET STB_CONF="%USERPROFILE%\Repos\statusdb.yaml" SET STB_LOG="%USERPROFILE%\Repos\...
da6f0470-a958-4b7b-bed6-5d188c3ef44a
{ "language": "Batchfile" }
```batchfile @echo off rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one rem or more contributor license agreements. Licensed under the Elastic License; rem you may not use this file except in compliance with the Elastic License. setlocal enabledelayedexpansion setlocal enableextensions...
```batchfile @echo off rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one rem or more contributor license agreements. Licensed under the Elastic License; rem you may not use this file except in compliance with the Elastic License. setlocal enabledelayedexpansion setlocal enableextensions...
7c6d41a3-544c-4d4d-9955-50d10cbfac8b
{ "language": "Batchfile" }
```batchfile ``` Add testcode for skipping statements when IF FALSE
```batchfile @more +1 "%~0" | "%~dp0..\nyagos.exe" - 2>nul & exit /b set FLAG=OK if not 1 == 1 echo NG(1) ; set "FLAG=NG(2)" echo %FLAG% ```
8b21b538-4b59-4ee9-abef-8fd20d5b9acf
{ "language": "Batchfile" }
```batchfile @echo off rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. rem The ASF licenses this file to You under the Apache License, Version 2.0 rem ...
```batchfile @echo off rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. rem The ASF licenses this file to You under the Apache License, Version 2.0 rem ...
1108891c-6578-43fe-866e-93f822d0cc62
{ "language": "Batchfile" }
```batchfile SET pathToVS12=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe SET pathToVS11=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe IF EXIST %pathToVS12%( "%pathToVS12%" /RootSuffix YC /ReSharper.Internal Exit /b ) IF EXIST %pathToVS11% ( "%pathTo...
```batchfile @echo off SET pathToVS12=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe SET pathToVS11=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe IF EXIST %pathToVS12%( "%pathToVS12%" /RootSuffix YC /ReSharper.Internal Exit /b ) IF EXIST %pathToVS11% ...
e1b14d25-4d9b-4d91-a22f-5cadaf8fb9e9
{ "language": "Batchfile" }
```batchfile @echo off set targetDllPath="%~1\bin\SDL2.dll" if not exist %targetDllPath% ( echo Copying SDL2.dll to %targetDllPath% copy SDL2.dll %targetDllPath% || exit /b 1 ) cd /d %1 if not exist build mkdir build cd build set slnName="%~2.sln" set binTargetName="%~2-gamebins" IF NOT EXIST %slnName% ( cm...
```batchfile @echo off set targetDllDir="%~1\bin" if not exist %targetDllDir% ( mkdir %targetDllDir% ) set targetDllPath="%~1\bin\SDL2.dll" if not exist %targetDllPath% ( echo Copying SDL2.dll to %targetDllPath% copy SDL2.dll %targetDllPath% || exit /b 1 ) cd /d %1 if not exist build mkdir build cd build ...
fe510cf5-9f8c-4f21-b7f0-c9fa5ae89dcb
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM create bin directory if it doesn't exist if not exist ..\bin mkdir ..\bin REM delete output from previous run del actual.txt REM compile the code into the bin folder javac javac -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java REM run the program, feed commands from i...
```batchfile @ECHO OFF REM create bin directory if it doesn't exist if not exist ..\bin mkdir ..\bin REM delete output from previous run del actual.txt REM compile the code into the bin folder javac -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java REM run the program, feed commands from input.tx...
19e04b68-77e3-4035-a8bc-0bb8ed0b3a1a
{ "language": "Batchfile" }
```batchfile ``` Add script to execute tests on windows.
```batchfile @ECHO OFF set BASE=%~dp0 set DEFAULT_TARGET= IF [%1]==[] set DEFAULT_TARGET="%BASE%atest" pybot -c regression -L DEBUG --pythonpath "%BASE%src" %DEFAULT_TARGET% %* pause ```
f7b3ac33-9d72-4bd9-b133-d89b6d07574a
{ "language": "Batchfile" }
```batchfile @echo off echo Generating C-style Win32 APIs and tests call dart %~dp0win32\generate_ffi_files.dart call dart %~dp0win32\generate_tests.dart echo. echo Generating COM classes call dart %~dp0generate\generate.dart %~dp0generate\com %~dp0..\lib\src\generated echo. echo Generating Windows Runtime classes...
```batchfile @echo off echo Generating C-style Win32 APIs and tests call dart --enable-experiment=non-nullable %~dp0win32\generate_ffi_files.dart call dart --enable-experiment=non-nullable %~dp0win32\generate_tests.dart echo. echo Generating COM classes call dart --enable-experiment=non-nullable %~dp0generate\gener...
18d2b55d-1de4-4ce5-abfd-ba7d9e9bbc3e
{ "language": "Batchfile" }
```batchfile @echo off setlocal enabledelayedexpansion pushd %1 set attempts=5 set counter=0 :retry set /a counter+=1 echo Attempt %counter% out of %attempts% cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/031b8bfe8230279dbd1bff99c33ecd07e373cb87 IF %ERRORLEVEL% NEQ 0 goto error goto end :er...
```batchfile @echo off setlocal enabledelayedexpansion pushd %1 set attempts=5 set counter=0 :retry set /a counter+=1 echo Attempt %counter% out of %attempts% cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/b27b514505b3d85ccb1396ab3dc7ed64d1dfd455 IF %ERRORLEVEL% NEQ 0 goto error goto end :er...
46a2eac6-8f27-4df1-9d33-e994c009cb62
{ "language": "Batchfile" }
```batchfile "%PYTHON%" setup.py install if errorlevel 1 exit 1 :: Add more build steps here, if they are necessary. :: See :: http://docs.continuum.io/conda/build.html :: for a list of environment variables that are set during the build process. ``` Fix conda recipe for Windows build
```batchfile "%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt if errorlevel 1 exit 1 :: Add more build steps here, if they are necessary. :: See :: http://docs.continuum.io/conda/build.html :: for a list of environment variables that are set during the build process. ```
83ecc429-8a3d-4424-9a1a-41367df0954a
{ "language": "Batchfile" }
```batchfile @PowerShell.exe -ExecutionPolicy RemoteSigned -Command "Invoke-Expression -Command ((Get-Content -Path '%~f0' | Select-Object -Skip 2) -join [environment]::NewLine)" @exit /b %Errorlevel% #Install scoop set-executionpolicy unrestricted -s cu -f iex (new-object net.webclient).downloadstring('https://get.sco...
```batchfile @PowerShell.exe -ExecutionPolicy RemoteSigned -Command "Invoke-Expression -Command ((Get-Content -Path '%~f0' | Select-Object -Skip 2) -join [environment]::NewLine)" @exit /b %Errorlevel% #Install scoop set-executionpolicy unrestricted -s cu -f iex (new-object net.webclient).downloadstring('https://get.sco...
6729d3ef-0b96-4a11-a43e-7c5529835d5b
{ "language": "Batchfile" }
```batchfile ``` Add stray file from 1.11a1
```batchfile @ECHO OFF REM gdump - JSTOR/Harvard Object Validation Environment REM Copyright 2004-2005 by the President and Fellows of Harvard College REM JHOVE is made available under the GNU General Public License (see the REM file LICENSE for details) REM REM Driver script for the GIF dump utility REM REM Usage: gdu...
bab7cbe8-9a6e-4438-b2ec-7fc9a6bf4546
{ "language": "Batchfile" }
```batchfile @echo off setlocal EnableDelayedExpansion echo Test discovery started... dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt echo Testing (Google Test)... set failures=0 FOR /F %%i IN (__tmp_gtest.txt) DO ( echo %%i %%i --gtest_output="xml:%%i.xml" powershell C:\projects\spect...
```batchfile @echo off setlocal EnableDelayedExpansion echo Test discovery started... dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt echo Testing (Google Test)... set failures=0 FOR /F %%i IN (__tmp_gtest.txt) DO ( echo %%i %%i --gtest_output="xml:%%i.xml" IF %ERRORLEVEL% NEQ 0 ( se...
0f25004a-5ef9-4fbe-804e-94854f1fa704
{ "language": "Batchfile" }
```batchfile set CFG=%USERPROFILE%\pydistutils.cfg echo [config] > "%CFG%" echo compiler=mingw32 >> "%CFG%" echo [build] >> "%CFG%" echo compiler=mingw32 >> "%CFG%" echo [build_ext] >> "%CFG%" echo compiler=mingw32 >> "%CFG%" "%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt ...
```batchfile set CFG=%USERPROFILE%\pydistutils.cfg echo [config] > "%CFG%" echo compiler=mingw32 >> "%CFG%" echo [build] >> "%CFG%" echo compiler=mingw32 >> "%CFG%" echo [build_ext] >> "%CFG%" echo compiler=mingw32 >> "%CFG%" "%PYTHON%" -m pip install . --no-deps -vv if errorlevel 1 exit 1 ```
371fb6f8-a7a4-41fc-90ad-c20e9d35929e
{ "language": "Batchfile" }
```batchfile setlocal IF "%1"=="" ( set BUILD_CONFIG="Debug" ) ELSE ( set BUILD_CONFIG=%1 ) REM Presence of a second argument indicates that the caller has already run vsvars32.bat IF "%2"=="" ( if not "%VS120COMNTOOLS%" == "" ( echo Setting up Visual Studio Pro 2013 Tools... @call "%VS120COMNTOOLS%vsvars32.ba...
```batchfile setlocal IF "%1"=="" ( set BUILD_CONFIG="Debug" ) ELSE ( set BUILD_CONFIG=%1 ) REM Presence of a second argument indicates that the caller has already run vsvars32.bat IF "%2"=="" ( if not "%VS120COMNTOOLS%" == "" ( echo Setting up Visual Studio Pro 2013 Tools... @call "%VS120COMNTOOLS%vsvars32.ba...
80f1610f-f138-4e69-977d-64706a944a5a
{ "language": "Batchfile" }
```batchfile "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.tablesorter.js ^ --js=jqu...
```batchfile "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.4.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.tablesorter.js ^ --js=jqu...
07121bc6-e140-4f55-bdb2-abd51cf73bad
{ "language": "Batchfile" }
```batchfile :: Copyright (c) 2011, Jon Maken :: License: 3-clause BSD (see project LICENSE file) :: Revision: 01/29/2011 10:20:16 AM @echo off setlocal :: echo initial: :: echo %%0 = %0 :: echo %%* = %* :: fix ruby.exe invocation when explicitly disabling RubyGems if "x%1" == "x--disable-gems" ( set NOGEM=%1 ...
```batchfile :: Copyright (c) 2011, Jon Maken :: License: 3-clause BSD (see project LICENSE file) :: Revision: 01/29/2011 10:20:16 AM @echo off setlocal :: echo initial: :: echo %%0 = %0 :: echo %%* = %* :: fix ruby.exe invocation when explicitly disabling RubyGems if "x%1" == "x--disable-gems" ( set NOGEM=%1 ...
6ca5ec0e-fcd6-4472-b913-9582187ecece
{ "language": "Batchfile" }
```batchfile @echo off if not defined HOST_PYTHON set HOST_PYTHON=python %HOST_PYTHON% build_ssl.py %1 %2 ``` Add debug output to analyse buildbot failure.
```batchfile @echo off cd if not defined HOST_PYTHON set HOST_PYTHON=python %HOST_PYTHON% build_ssl.py %1 %2 ```
fa3a4f4b-fca6-4052-8840-1e6f62e3d011
{ "language": "Batchfile" }
```batchfile @echo on cd git\SwiftShader git submodule update --init "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild" SwiftShader.sln ``` Add Python path to Kokoro batch script
```batchfile @echo on SET PATH=%PATH%;C:\python27 cd git\SwiftShader git submodule update --init "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild" SwiftShader.sln ```
93047e62-0b6d-4df3-8ba1-7213bc3004ef
{ "language": "Batchfile" }
```batchfile RMDIR "%~dp0..\Drops" /S /Q MKDIR "%~dp0..\Drops" MKDIR "%~dp0..\Drops\Temp" MKDIR "%~dp0..\Drops\Temp\agent" MKDIR "%~dp0..\Drops\Temp\agent\bin" XCOPY /E /Y "%~dp0..\Solutions\*.*" "%~dp0..\Drops\Temp" XCOPY /E /Y "%~dp0..\..\src\OctopusPuppet.Cmd\bin\Release\*.*" "%~dp0..\Drops\Temp\agent\bin" DEL "...
```batchfile RMDIR "%~dp0..\Drops" /S /Q MKDIR "%~dp0..\Drops" MKDIR "%~dp0..\Drops\Temp" MKDIR "%~dp0..\Drops\Temp\agent" MKDIR "%~dp0..\Drops\Temp\agent\bin" XCOPY /E /Y "%~dp0..\Solutions\*.*" "%~dp0..\Drops\Temp" XCOPY /E /Y "%~dp0..\..\src\OctopusPuppet.Cmd\bin\Release\*.*" "%~dp0..\Drops\Temp\agent\bin" DEL "...
7a28ee30-64b7-4ed3-9615-274966dfef50
{ "language": "Batchfile" }
```batchfile ``` Add package into registry via script
```batchfile @echo off ECHO Adding to the registry the WakaTime package... REM SQL SERVER MANAGEMENT STUDIO 2012 REG QUERY "HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\11.0\Packages" > nul 2> nul if %errorlevel% equ 1 ( REG ADD "HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Stud...
5be8d196-40d1-405e-859b-7cae55484ea2
{ "language": "Batchfile" }
```batchfile @echo off cd %~dp0.. rake -f build\build.rb "build:no_test_build[., SevenDigital.Messaging.sln, build, full, local, Release]" ``` Update build.cmd to not cd up
```batchfile @echo off cd %~dp0 rake -f build\build.rb "build:no_test_build[., SevenDigital.Messaging.sln, build, full, local, Release]" pause ```
e7803276-9eb9-47dc-8ecf-619916853906
{ "language": "Batchfile" }
```batchfile @echo off for %%? in ("%~dp0..") do set ROO_HOME=%%~f? rem echo Resolved ROO_HOME: %ROO_HOME% java -Djava.ext.dirs=%ROO_HOME%/lib;%ROO_HOME%/dist org.springframework.roo.bootstrap.Bootstrap "classpath:/roo-bootstrap.xml"``` Stop beep noise on Windows machines via Roo shell
```batchfile @echo off for %%? in ("%~dp0..") do set ROO_HOME=%%~f? rem echo Resolved ROO_HOME: %ROO_HOME% java -Djline.nobell=true -Djava.ext.dirs=%ROO_HOME%/lib;%ROO_HOME%/dist org.springframework.roo.bootstrap.Bootstrap "classpath:/roo-bootstrap.xml"```
f20cdb7d-ef5b-43db-b1b5-c3f48ce80be2
{ "language": "Batchfile" }
```batchfile @echo off REM I didn't use the if (...) else (...) form because when the environment variable REM is expanded, the ")" in the directory name seems to be interpreted by the IF command. if not "%ProgramFiles(x86)%"=="" set ProgramFiles32Bit=%ProgramFiles(x86)% if "%ProgramFiles(x86)%"=="" set ProgramFiles32B...
```batchfile @echo off SetLocal ENABLEDELAYEDEXPANSION echo.Building the TTR Mouse Click Simulator... echo. REM MSBuild is always installed in the 32-Bit program files folder if "!ProgramFiles(x86)!"=="" ( set "ProgramFiles32Bit=!ProgramFiles!" ) else ( set "ProgramFiles32Bit=!ProgramFiles(x86)!" ) set "BuildExe=!Pro...
04c74296-22c2-4216-ad81-f3853976c762
{ "language": "Batchfile" }
```batchfile @ECHO OFF SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln IF EXIST %CACHED_NUGET% goto restore echo Downloading latest version of NuGet.exe... IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet @powershell -NoProfile -ExecutionPolicy unrestric...
```batchfile @ECHO OFF SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln SET VS2015_BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" IF NOT EXIST %VS2015_BUILD_TOOLS_PATH% ( echo In order to build or run this tool you need either Visual Studio ...
cf8639eb-37d6-4704-876c-56c0fd176346
{ "language": "Batchfile" }
```batchfile if exist classes rmdir classes /s /q if exist build rmdir build /s /q mkdir classes mkdir build xcopy /E /y src classes\ "%JAVA_HOME%\bin\java" -cp ../../3rdpartypublic/classext/clojure.jar;../MMCoreJ_wrap/MMCoreJ.jar;../../3rdpartypublic/classext/ij.jar;../mmstudio/MMJ_.jar;../../3rdpartypublic/class...
```batchfile if exist classes rmdir classes /s /q if exist build rmdir build /s /q mkdir classes mkdir build xcopy /E /y src classes\ "%JAVA_HOME%\bin\java" -cp ../../3rdpartypublic/classext/clojure.jar;../MMCoreJ_wrap/MMCoreJ.jar;../../3rdpartypublic/classext/ij.jar;../mmstudio/MMJ_.jar;../../3rdpartypublic/class...
30b0828f-2bbe-49bc-8ed1-c58f7873518f
{ "language": "Batchfile" }
```batchfile .nuget\nuget.exe pack -Build -Symbols -Properties Configuration=Release -OutputDirectory ..\..\packages Library\Library.csproj .nuget\nuget.exe pack -Build -Symbols -Properties Configuration=Release -OutputDirectory ..\..\packages Library\Mvc.csproj ``` Fix paths in build script
```batchfile .nuget\nuget.exe pack -Build -Symbols -Properties Configuration=Release -OutputDirectory ..\..\packages Library\Library.csproj .nuget\nuget.exe pack -Build -Symbols -Properties Configuration=Release -OutputDirectory ..\..\packages MVC\Mvc.csproj ```
27b56af1-309a-429f-917e-9d8a15339bd7
{ "language": "Batchfile" }
```batchfile :: Sets up the environment for use with MSVS tools and CMake. @echo off setlocal :: cmd for loops are really hard, so I hardcoded the list of MSVS paths. set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat" if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES%\Micro...
```batchfile :: Sets up the environment for use with MSVS tools and CMake. @echo off setlocal :: cmd for loops are really hard, so I hardcoded the list of MSVS paths. set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat" if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES%\Micro...
58d0396f-b20a-486d-904f-0140c0f7e9a2
{ "language": "Batchfile" }
```batchfile set projectPath=%~dp0 if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% set releasePath=%projectPath%\.release mkdir "%releasePath%" for /f "tokens=*" %%a in ('type version.txt') do set version=%%a del "%releasePath%\shareical_%version%.zip" "build_tools\7za.exe" a -tzip -r "%releasePath%\shar...
```batchfile set projectPath=%~dp0 if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% set releasePath=%projectPath%\.release mkdir "%releasePath%" for /f "tokens=*" %%a in ('type version.txt') do set version=%%a del "%releasePath%\shareical_%version%.zip" "build_tools\7za.exe" a -tzip -r "%releasePath%\shar...
51ca1989-5848-44bb-9330-58e61ed7926a
{ "language": "Batchfile" }
```batchfile @echo off set config=%1 if "%config%" == "" ( set config=Release ) set version=0.1.2.1 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=src\.nuget\nuget.exe ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\Nancy.ReSharper.Plugin....
```batchfile @echo off set config=%1 if "%config%" == "" ( set config=Release ) set version=0.1.2.2-EAP-20131112 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=src\.nuget\nuget.exe ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\Nancy.ReSh...
57c0aec7-5b1f-4049-95c5-5f6846d24281
{ "language": "Batchfile" }
```batchfile @REM Copyright (c) Microsoft. All rights reserved. @REM Licensed under the MIT license. See LICENSE file in the project root for full license information. setlocal set build-root=%~dp0.. rem // resolve to fully qualified path for %%i in ("%build-root%") do set build-root=%%~fi REM -- C -- cd %build-root...
```batchfile @REM Copyright (c) Microsoft. All rights reserved. @REM Licensed under the MIT license. See LICENSE file in the project root for full license information. setlocal set build-root=%~dp0.. rem // resolve to fully qualified path for %%i in ("%build-root%") do set build-root=%%~fi REM -- C -- cd %build-root...
1ea7288c-abcc-41df-b48a-a86e17f3eb7f
{ "language": "Batchfile" }
```batchfile @mkdir _shake 2> nul @ghc --make Main.hs -rtsopts -with-rtsopts=-I0 -outputdir=_shake -o _shake/build && _shake\build --lint --directory ".." %* ``` Fix paths to source files.
```batchfile @mkdir _shake 2> nul @ghc --make src/Main.hs -isrc -rtsopts -with-rtsopts=-I0 -outputdir=_shake -o _shake/build && _shake\build --lint --directory ".." %* ```
8b4c6a76-136e-4700-8e50-c66c835df611
{ "language": "Batchfile" }
```batchfile Rem This batch file will run the Ring Notepad Application. Rem Ring Notepad is just a sample about what we can do using Ring in little hours. Rem Using Ring Notepad we can write and execute Ring programs quickly. Rem Author : Mahmoud Fayed <msfclipper@yahoo.com> echo off cls cd applications cd rnote "../...
```batchfile Rem This batch file will run the Ring Notepad Application. Rem Ring Notepad is just a sample about what we can do using Ring in little hours. Rem Using Ring Notepad we can write and execute Ring programs quickly. Rem Author : Mahmoud Fayed <msfclipper@yahoo.com> echo off cls cd applications cd rnote star...
50a9b457-efad-45b1-96fa-3d9adced296a
{ "language": "Batchfile" }
```batchfile mkdir bin ilasm /dll src\PtrUtils.il /out:bin\System.Slice.netmodule csc /t:library /debug:pdbonly /unsafe /o+ /addmodule:bin\System.Slice.netmodule /out:bin\System.Slice.dll src\*.cs csc /debug:pdbonly /unsafe /r:bin\System.Slice.dll /out:bin\System.Slice.Test.exe tests\*.cs ``` Use link to create ...
```batchfile mkdir bin ilasm /dll src\PtrUtils.il /out:bin\System.Slice.Core.netmodule csc /t:module /debug:pdbonly /unsafe /o+ /addmodule:bin\System.Slice.Core.netmodule /out:bin\System.Slice.netmodule src\*.cs link /dll /out:bin\System.Slice.dll bin\System.Slice.Core.netmodule bin\System.Slice.netmodule csc /de...
a6007440-8ebe-4d09-a797-1d5ae547acf8
{ "language": "Batchfile" }
```batchfile @echo off setlocal pushd "%~dp0" call :main %* popd goto :EOF :main set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe if not exist "%MSBUILDEXE%" ( echo The .NET Framework 4.0 does not appear to be installed on this echo machine, which is required to build the solution. ...
```batchfile @echo off setlocal pushd "%~dp0" call :main %* popd goto :EOF :main set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe if not exist "%MSBUILDEXE%" ( echo The .NET Framework 4.0 does not appear to be installed on this echo machine, which is required to build the solution. ...
f8157e3c-0c74-4d85-8fe4-b7a3e5ac2657
{ "language": "Batchfile" }
```batchfile @echo off if not exist mercury-x64 mkdir mercury-x64 pushd mercury-x64 set CommonCompilerFlags=-Od -I.. -I..\glfw-3.1.1\include -MTd -fp:fast -fp:except- -Gm- -GR- -EHa- -Oi -W4 set CommonLinkerFlags= -incremental:no -opt:ref user32.lib gdi32.lib winmm.lib glfw3dll.lib opengl32.lib -libpath:..\glfw-x64\s...
```batchfile @echo off if not exist mercury-x64 mkdir mercury-x64 pushd mercury-x64 set CommonCompilerFlags=-nologo -Od -I.. -I..\glfw-3.1.1\include -MTd -fp:fast -fp:except- -Gm- -GR- -EHa- -Oi -W4 -WX -wd4201 -wd4100 -wd4189 -wd4505 -wd4127 set CommonLinkerFlags= -incremental:no -opt:ref user32.lib gdi32.lib winmm....
bc60f7bd-5881-4225-b27c-e1a89ef51685
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`. setlocal set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0 set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.0\Framework\v4.0 set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs...
```batchfile @ECHO OFF REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`. setlocal set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0 set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.0\Framework\v4.0 set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs...
1d3d6cfd-f2f6-471b-97b9-f09b22b295d9
{ "language": "Batchfile" }
```batchfile dir 7za x lts\ldc2-1.9.0-windows-x64.7z -o%SRC_DIR%\lts mkdir build cd build cmake -G Ninja ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^ -DBUILD_SHARED_LIBS=ON ^ -DD_COMPILER=%SRC_DIR%\lts\ldc2-1.9.0-windows-...
```batchfile dir 7za x lts\ldc2-1.9.0-windows-x64.7z -o%SRC_DIR%\lts mkdir build cd build cmake -G Ninja ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^ -DD_COMPILER=%SRC_DIR%\lts\ldc2-1.9.0-windows-x64\bin\ldmd2.exe ^ .. ni...
bd406778-75c6-4724-91fc-edc258f07a29
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM TeamCity chokes on the COMPONENTSVERSION processing here, it thinks REM COMPONENTSVERSION is required going into the build step when we would REM define it in the build step. SETLOCAL REM --------------------------------------------------------------------------- REM Check usage REM ------...
```batchfile @ECHO OFF REM TeamCity chokes on the COMPONENTS_VERSION processing here, it thinks REM COMPONENTS_VERSION is required going into the build step when we would REM define it in the build step. SETLOCAL REM --------------------------------------------------------------------------- REM Check usage REM ----...
b508e31b-02af-4a88-9007-be4c0f3d62f4
{ "language": "Batchfile" }
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%mypath%\python2.7;%PATH% set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath%\openquake.cfg set OQ_HOST=127.0.0.1 set OQ_PORT=8800 echo Please wait ... REM Start the DbServer in background but within the same context start "OpenQuake DB server"...
```batchfile @echo off setlocal set mypath=%~dp0 set PATH=%mypath%\python2.7;%PATH% set PYTHONPATH=%mypath%\lib set OQ_SITE_CFG_PATH=%mypath%\openquake.cfg set OQ_HOST=127.0.0.1 set OQ_PORT=8800 echo Please wait ... REM Start the WebUI using django start "OpenQuake WebUI server" /B python.exe -m openquake.c...
76251d0f-c30e-45ac-b974-8b8aa9cbfcf5
{ "language": "Batchfile" }
```batchfile @echo off setlocal enabledelayedexpansion set directory=%~f1 if [%directory%] == [] set directory=%CD% if exist %directory%\NUL ( set directory=%directory% ) else ( set directory=%~dp1 ) pushd %directory% for /f "delims=" %%i in ('git rev-parse --show-toplevel') do set directory=%%i git rev-pa...
```batchfile @echo off setlocal enabledelayedexpansion set directory=%~f1 if [%directory%] == [] set directory=%CD% if exist %directory%\NUL ( set directory=%directory% ) else ( set directory=%~dp1 ) pushd %directory% for /f "delims=" %%i in ('git rev-parse --show-toplevel') do set directory=%%i git rev-pa...
bff2f3af-cb1c-4c40-9e6b-7902650dad3e
{ "language": "Batchfile" }
```batchfile cd ..\src call msvcbuild.bat static cd ..\ext\re call msvcbuild.bat cd ..\..\ext\tsx call msvcbuild.bat cd ..\..\sample @setlocal @set SCHEME_H_DIR=..\src @set MSCOMPILE=cl /nologo /O2 /W3 /c /D_CRT_SECURE_NO_WARNINGS /I%SCHEME_H_DIR% @set MSLINK=link /nologo @set EXT_LIBS=..\ext\re\lib\re...
```batchfile cd ..\src call msvcbuild.bat static cd ..\ext\re call msvcbuild.bat cd ..\..\ext\tsx call msvcbuild.bat cd ..\..\example @setlocal @set SCHEME_H_DIR=..\src @set MSCOMPILE=cl /nologo /O2 /W3 /c /D_CRT_SECURE_NO_WARNINGS /I%SCHEME_H_DIR% @set MSLINK=link /nologo @set EXT_LIBS=..\ext\re\lib\r...
a085f3db-6202-497c-922b-069b2f667494
{ "language": "Batchfile" }
```batchfile ``` Add script for deploying documentation
```batchfile @ECHO OFF cd ..\picklesdoc.github.com rmdir Output /s /q echo D | xcopy ..\pickles\Output Output /e powershell -Command "(gc index_template.md) -replace 'VERSION_PLACEHOLDER', '%1' | Out-File -encoding ASCII index.md" cd ..\pickles ```
f1c4c6d8-d88e-4280-94c9-3cff9a19e826
{ "language": "Batchfile" }
```batchfile cd build md output copy *.exe output copy "c:\vcpkg\installed\x64-windows\bin\sqlite3.dll" output cd output windeployqt codequery.exe dir/b/a/s candle.exe -ext WixUIExtension -ext WixUtilExtension "..\..\windows-install\win64\codequery64.wxs" light.exe -ext WixUIExtension -ext WixUtilExtension code...
```batchfile set PATH=%PATH%;"%WIX%\bin" cd build md output copy *.exe output copy "c:\vcpkg\installed\x64-windows\bin\sqlite3.dll" output cd output windeployqt codequery.exe dir/b/a/s candle.exe -ext WixUIExtension -ext WixUtilExtension "..\..\windows-install\win64\codequery64.wxs" light.exe -ext WixUIExtensi...
91a23d7c-7fd0-413c-920e-1bc47d128cf2
{ "language": "Batchfile" }
```batchfile @ECHO OFF ECHO. ECHO Downloading Libbitcoin Explorer dependencies from NuGet CALL nuget.exe install ..\vs2013\bitcoin-explorer\packages.config CALL nuget.exe install ..\vs2013\libbitcoin-explorer\packages.config CALL nuget.exe install ..\vs2013\libbitcoin-explorer-test\packages.config ECHO. CALL buildbase....
```batchfile @ECHO OFF ECHO. ECHO Downloading Libbitcoin Explorer dependencies from NuGet CALL nuget.exe install ..\vs2013\bx\packages.config CALL nuget.exe install ..\vs2013\libbitcoin-explorer\packages.config CALL nuget.exe install ..\vs2013\libbitcoin-explorer-test\packages.config ECHO. CALL buildbase.bat ..\vs2013\...
1318b50c-af02-4212-afb1-287d1a953f71
{ "language": "Batchfile" }
```batchfile @echo off "%~dp0\python2.7\Scripts\reprounzip-qt.exe" %* ``` Fix GUI not finding reprounzip on Windows
```batchfile @echo off set PATH=%~dp0;%PATH% "%~dp0\python2.7\Scripts\reprounzip-qt.exe" %* ```
bafee822-83c5-4d26-9546-99ea272f48ce
{ "language": "Batchfile" }
```batchfile echo Current build setup MSVS="%MSVS%" PLATFORM="%PLATFORM%" TARGET="%TARGET%" if %MSVS% == 2013 call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM% if %MSVS% == 2015 call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM% if %MSVS% == 2017 call...
```batchfile echo Current build setup MSVS="%MSVS%" PLATFORM="%PLATFORM%" TARGET="%TARGET%" if %MSVS% == 2015 call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM% if %MSVS% == 2017 call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFO...
dc028878-afde-4d2d-843e-1cf2fe034e2b
{ "language": "Batchfile" }
```batchfile ``` Add a script to harvest the java files and create the wxs file
```batchfile "%WIX%\bin\heat.exe" dir "..\..\..\..\..\Java" -ag -sfrag -dr "APPLICATIONFOLDER" -cg JavaFilesGroup -var var.JavaPath -out ..\..\..\javaFiles.wxs powershell -Command "(gc ..\..\..\javaFiles.wxs) -replace '<Component ', '<Component Win64=\"yes\" ' | Out-File ..\..\..\javaFiles.wxs" -encoding UTF8```
9f67418c-2e33-4f42-9227-5ee6d718637a
{ "language": "Batchfile" }
```batchfile ``` Add script to generate installer
```batchfile call mvn package jpackage --input .\target\ --main-jar mtg-workstation-%1.jar --name mtg-workstation --win-dir-chooser --win-menu --win-shortcut --icon src\main\resources\icon\icon.ico --app-version %1 ```
b8be28b2-35b0-40fd-8f35-10adb7fccdca
{ "language": "Batchfile" }
```batchfile ``` Create batch file for Windows
```batchfile @echo off setlocal call :Main "%~f0" "%~dp0" "%~dp0.." goto :eof :Main set script_path=%~f1 set script_dir=%~f2 set repo_dir=%~f3 set build_dir=%repo_dir%\_build if exist "%build_dir%" ( rd /s /q "%build_dir%" ) mkdir "%build_dir%" cd /d "%build_dir%" cmake -G "Visual Studio 14 2015 Win64" ..```