doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
13c7f03c-a92b-49c3-9c32-2de64c1634c9
{ "language": "Batchfile" }
```batchfile @echo off pushd "%~dp0" for %%i in (Debug Release) do "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild" /target:Clean /p:Configuration=%%i src\NCrontab.sln popd ``` Clean script can simply delegate to build script
```batchfile @"%~dp0build" /v:n /target:Clean ```
5f6af458-3c68-4f93-b171-d232f3200194
{ "language": "Batchfile" }
```batchfile ``` Add Windows Installer for Realms 1.9.
```batchfile @echo off SET version=v1.0.1 SET for_minecraft=1.9 SET for_realms=1.8.3 :: Minecraft path SET minecraft=%appdata%\.minecraft echo Sphinx Client Patch Installer %version% echo For Minecraft %for_minecraft%. echo For Realms %for_realms%. echo. :: Check to see if Minecraft can run Sphinx. echo Checking s...
a0d2949d-8ca6-4ce0-b201-784ab125ddc8
{ "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\* 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 .. ``` Add Program Fil...
```batchfile PATH=C:\python26;C:\progra~1\7-zip;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 .. ``...
d05c61e5-a82d-4994-afd3-0e12a012820e
{ "language": "Batchfile" }
```batchfile if not exist "C:\Windows\Temp\build-tools.exe" ( powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full....
```batchfile if not exist "C:\Windows\Temp\build-tools.exe" ( powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full....
007d410c-f1b0-4ff7-ad71-fc70c4a74a7a
{ "language": "Batchfile" }
```batchfile ``` Add unit testing script for Windows.
```batchfile :: Run all unit tests @echo off setlocal EnableDelayedExpansion dir /b unit-tests > tempFile1 findstr /e /c:".py" tempFile1 > tempFile2 findstr /B /R /C:"[^__]" tempFile2 > tempFile3 del tempFile1 del tempFile2 set /A testIndex=1 for /F "tokens=*" %%A in (tempFile3) do ( echo|set /p=Test !testIndex!: e...
2e08dc02-4d6f-4722-9a6f-82c194986b54
{ "language": "Batchfile" }
```batchfile @echo off rem ======================================================= rem Settings rem ======================================================= set Platform=Win64 set BuildMode=Development rem ======================================================= rem Release variables rem =============================...
```batchfile @echo off rem ======================================================= rem Settings rem ======================================================= set Platform=Win64 set BuildMode=Development rem ======================================================= rem Release variables rem =============================...
bf3e3ff3-2e66-4bb4-8b0a-5edd45bd76d1
{ "language": "Batchfile" }
```batchfile @echo "mkDistribution v1.3" if exist current ( rmdir /s /q current ) mkdir current mkdir current\netcf-10 nant -t:netcf-1.0 -D:build.output.dir=current\netcf-10 -buildfile:sharpZLib.build build mkdir current\netcf-20 nant -t:netcf-2.0 -D:build.output.dir=current\netcf-20 -buildfile:sharpZLib.build bui...
```batchfile @echo "mkDistribution v1.4" if exist current ( rmdir /s /q current ) mkdir current mkdir current\netcf-10 nant -t:netcf-1.0 -D:build.output.dir=current\netcf-10 -buildfile:sharpZLib.build build mkdir current\netcf-20 nant -t:netcf-2.0 -D:build.output.dir=current\netcf-20 -buildfile:sharpZLib.build bui...
fa4d3fe9-6e22-4c4f-80e0-282fd8ff4657
{ "language": "Batchfile" }
```batchfile @echo off cd /D %~dp0 call settings.cmd call ..\unxutils.cmd cd dist\%ARCH% call pp -B -o psass.exe ^ -I ../../../blib/lib ^ -M Encode::Byte ^ -M List::MoreUtils::XS ^ -M List::MoreUtils::PP ^ -M Win32::ChangeNotify ^ -M Filesys::Notify::Simple ^ CSS-Sass-%RELVERSION%/bin/psass cd ..\.. ...
```batchfile @echo off cd /D %~dp0 call settings.cmd call ..\unxutils.cmd cd dist\%ARCH% call pp -B -o psass.exe ^ -I ../../../blib/lib ^ -M Encode::Byte ^ -M PerlIO::encoding ^ -M List::MoreUtils::XS ^ -M List::MoreUtils::PP ^ -M Win32::ChangeNotify ^ -M Filesys::Notify::Simple ^ CSS-Sass-%RELVERSION%...
a4ebbebf-a9c9-491f-b989-47481e7c8db3
{ "language": "Batchfile" }
```batchfile <!-- : @echo off echo ==^> Enabling updates for other products from Microsoft Update net stop wuauserv reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur...
```batchfile <!-- : @echo off echo ==^> Enabling updates for other products from Microsoft Update net stop wuauserv reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur...
0da66409-1866-424d-92c2-d691db94eba9
{ "language": "Batchfile" }
```batchfile call \ned\bin\switchpy 23 python setup.py develop nosetests call \ned\bin\switchpy 24 python setup.py develop nosetests call \ned\bin\switchpy 25 python setup.py develop nosetests call \ned\bin\switchpy 26 python setup.py develop nosetests ``` Test the code without a C extension.
```batchfile call \ned\bin\switchpy 23 python setup.py develop nosetests del coverage\tracer.pyd nosetests call \ned\bin\switchpy 24 python setup.py develop nosetests del coverage\tracer.pyd nosetests call \ned\bin\switchpy 25 python setup.py develop nosetests del coverage\tracer.pyd nosetests call \ned\...
75653b51-604a-402c-88df-0bfbc943d4ee
{ "language": "Batchfile" }
```batchfile ``` Add bat to help sign unsigned dependencies
```batchfile @echo off set ildasmFolder=%~1 set ilasmFolder=%~2 set inputFolder=%~3 set inputFilename=%~4 set debug=%~5 mkdir tempSigning "%ildasmFolder%\sn.exe" -k tempSigning\keyPair.snk echo Key Written "%ildasmFolder%\ildasm.exe" "%inputFolder%\%inputFilename%" /out:"tempSigning\%inputFilename%.il" echo Disassembl...
420ffe9c-621f-49f4-b1b4-3c004c87df5b
{ "language": "Batchfile" }
```batchfile rem @echo off set VIBE_BIN=%~dps0 set LIBDIR=%VIBE_BIN%..\lib\win-i386 set BINDIR=%VIBE_BIN%..\lib\bin set LIBS="%LIBDIR%\event2.lib" "%LIBDIR%\eay.lib" "%LIBDIR%\ssl.lib" ws2_32.lib set EXEDIR=%TEMP%\.rdmd\source set START_SCRIPT=%EXEDIR%\vibe.cmd if NOT EXIST %EXEDIR% ( mkdir %EXEDIR% ) copy "%VIBE_BIN...
```batchfile @echo off set VIBE_BIN=%~dps0 set LIBDIR=%VIBE_BIN%..\lib\win-i386 set BINDIR=%VIBE_BIN%..\lib\bin set LIBS="%LIBDIR%\event2.lib" "%LIBDIR%\eay.lib" "%LIBDIR%\ssl.lib" ws2_32.lib set EXEDIR=%TEMP%\.rdmd\source set START_SCRIPT=%EXEDIR%\vibe.cmd if NOT EXIST %EXEDIR% ( mkdir %EXEDIR% ) copy "%VIBE_BIN%*.d...
ffa26611-2a67-40fa-bbd1-aabb06c6a27e
{ "language": "Batchfile" }
```batchfile :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: :: Cake is a Windows batch script for invoking CakePHP shell commands :: :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org) :: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) :: :: Li...
```batchfile :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: :: Cake is a Windows batch script for invoking CakePHP shell commands :: :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org) :: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) :: :: Li...
12912abc-187d-4579-aa1e-d301a6283ef7
{ "language": "Batchfile" }
```batchfile ``` Add utility to force dynamic compilation
```batchfile @echo off REM Delete all compiled module binaries to force dynamic compilation (.csproj) to kick in set SRC=src\Orchard.Web\Modules for /f %%i in ('dir %SRC% /b /ad') do del /q %SRC%\%%i\bin\%%i.dll ```
5a1237a6-9d09-4aca-bb0d-30c2baf20bb2
{ "language": "Batchfile" }
```batchfile set PYTHON=C:\Python27\python set EASY_INSTALL=c:\python27\scripts\easy_install.exe set NEXUSDIR="C:\Program Files (x86)\NeXus Data Format\" set PATH=C:\Python27;C:\Python27\Scripts;C:\mingw\bin;%PATH% cd %WORKSPACE% %PYTHON% check_packages.py cd %WORKSPACE% python setup.py build -cmingw32 cd %WORK...
```batchfile set PYTHON=C:\Python27\python set EASY_INSTALL=c:\python27\scripts\easy_install.exe set NEXUSDIR="C:\Program Files (x86)\NeXus Data Format\" set PATH=C:\Python27;C:\Python27\Scripts;C:\mingw\bin;%PATH% set PYLINT=c:\python27\scripts\pylint cd %WORKSPACE% %PYTHON% check_packages.py cd %WORKSPACE% pytho...
5c4fc57f-c51f-4666-8487-2883fbdb1727
{ "language": "Batchfile" }
```batchfile :: Copyright 2015 Rouslan Solomakhin :: :: Licensed under the Apache License, Version 2.0 (the "License") :: you may not use this file except in compliance with the License. :: You may obtain a copy of the License at :: :: http://www.apache.org/licenses/LICENSE-2.0 :: :: Unless required by appl...
```batchfile :: Copyright 2015 Rouslan Solomakhin :: :: Licensed under the Apache License, Version 2.0 (the "License") :: you may not use this file except in compliance with the License. :: You may obtain a copy of the License at :: :: http://www.apache.org/licenses/LICENSE-2.0 :: :: Unless required by appl...
38e62cc0-efaa-4821-a3b2-d00e28f1b59d
{ "language": "Batchfile" }
```batchfile ``` Add batch script to test 64bit and 32bit MSVC from the terminal
```batchfile @SET SUBDIR=%~dp0 @cd %SUBDIR% @ctest -V -S test.cmake @SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;%PATH% @ctest -V -S test.cmake ```
bdc5fbfa-7c53-4812-a91f-4d169ef1143e
{ "language": "Batchfile" }
```batchfile copy mpi.f.single mpi.f copy mpif.h.single mpif.h if errorlevel 1 exit 1 flang -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f stepz.f timerec.f initrun.f input.f ...
```batchfile copy mpi.f.single mpi.f copy mpif.h.single mpif.h if errorlevel 1 exit 1 flang -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f stepz.f timerec.f initrun.f input.f ...
cc28770b-60c5-4109-b70a-b5dd19b290e2
{ "language": "Batchfile" }
```batchfile @echo off REM This build script allows you to build the TTR Mouse Click Simulator. REM For information about prerequisites, see the Wiki page at REM https://github.com/TTExtensions/MouseClickSimulator/wiki/Running-the-Simulator SetLocal ENABLEDELAYEDEXPANSION REM Change the working directory to the scri...
```batchfile @echo off REM This build script allows you to build the TTR Mouse Click Simulator. REM For information about prerequisites, see the Wiki page at REM https://github.com/TTExtensions/MouseClickSimulator/wiki/Running-the-Simulator SetLocal ENABLEDELAYEDEXPANSION REM Change the working directory to the scri...
b81fb0f8-818d-4092-8091-a5925f1e7ebb
{ "language": "Batchfile" }
```batchfile @echo off mkdir public\compiled set ts_apps=common chess ceval game tree for %%t in (%ts_apps%) do @( call echo Building TypeScript: %%t call cd ui\%%t call yarn install --non-interactive call yarn run compile --non-interactive call cd ..\.. ) set apps=site chat challenge notify learn ...
```batchfile @echo off mkdir public\compiled set ts_apps=common chess ceval game tree for %%t in (%ts_apps%) do @( call echo Building TypeScript: %%t call cd ui\%%t call yarn install --non-interactive call yarn run compile --non-interactive call cd ..\.. ) set apps=site chat challenge notify lea...
31afda1f-0e29-46b6-a41a-65487f8aae8c
{ "language": "Batchfile" }
```batchfile @echo off rem installer bug. http://stackoverflow.com/a/25095327 mkdir "%APPDATA%\npm" > NUL 2>&1 set PATH=node_modules\.bin;node_modules\lisb-hubot\node_modules\.bin;%PATH% call npm install for /f "delims=\" %%i in ("%CD%") do set UID=%%i if "%REDIS_URL%" = "" ( set REDIS_URL=redis://localhost:6379/...
```batchfile @echo off rem installer bug. http://stackoverflow.com/a/25095327 mkdir "%APPDATA%\npm" > NUL 2>&1 set PATH=node_modules\.bin;node_modules\lisb-hubot\node_modules\.bin;%PATH% call npm install for /f "delims=\" %%i in ("%CD%") do set UID=%%i if "%REDIS_URL%" == "" ( set REDIS_URL=redis://localhost:6379...
15f7da31-ebb8-4312-ba60-b2c78e157dbb
{ "language": "Batchfile" }
```batchfile set CMAKE_CONFIG=Release mkdir build_%CMAKE_CONFIG% pushd build_%CMAKE_CONFIG% cmake -G "NMake Makefiles" ^ -DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^ -DBLA_VENDOR:STRING=OpenBLAS ^ -DENABLE_PYTHON:BOOL=ON ^ ...
```batchfile set CMAKE_CONFIG=Release mkdir build_%CMAKE_CONFIG% pushd build_%CMAKE_CONFIG% cmake -G "NMake Makefiles" ^ -DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^ -DBLA_VENDOR:STRING=OpenBLAS ^ -DENABLE_PYTHON:BOOL=ON ^ ...
479e56dd-590b-42cd-bb89-e86b4256ef04
{ "language": "Batchfile" }
```batchfile SETLOCAL SET Version=2.5.0 SET Prerelease=auto @SET Config=%1% @IF [%1] == [] SET Config=Debug IF NOT DEFINED VisualStudioVersion CALL "%VS140COMNTOOLS%VsDevCmd.bat" || ECHO ERROR: Cannot find Visual Studio 2015, missing VS140COMNTOOLS variable. && GOTO Error0 @ECHO ON REM Updating the version...
```batchfile SETLOCAL SET Version=2.5.0 SET Prerelease=auto @SET Config=%1% @IF [%1] == [] SET Config=Debug IF NOT DEFINED VisualStudioVersion CALL "%VS140COMNTOOLS%VsDevCmd.bat" || ECHO ERROR: Cannot find Visual Studio 2015, missing VS140COMNTOOLS variable. && GOTO Error0 @ECHO ON REM Updating the version...
10e0e052-295a-452c-ba92-0f865bbffed4
{ "language": "Batchfile" }
```batchfile mkdir mage composer install rem Actions after deploy (database creation, files copy, etc) copy ..\src\app\etc\nmmlm mage\app\etc``` Deploy script changed from copy to xcopy
```batchfile mkdir mage composer install rem Actions after deploy (database creation, files copy, etc) xcopy ..\src\app\etc\nmmlm mage\app\etc\nmmlm /E /Y /I```
b5ceab61-9b57-4d97-a3c9-36b395d5f6a5
{ "language": "Batchfile" }
```batchfile @echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Bot.Messenger.sln /p:Configu...
```batchfile @echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe Bot.Messenger.sln /p:Configuration="%config%" /...
85025325-cd36-405e-9048-8d897c5b4c57
{ "language": "Batchfile" }
```batchfile @ECHO OFF :: Note: We've disabled node reuse because it causes file locking issues. :: The issue is that we extend the build with our own targets which :: means that that rebuilding cannot successully delete the task :: assembly. "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild....
```batchfile @ECHO OFF :: Note: We've disabled node reuse because it causes file locking issues. :: The issue is that we extend the build with our own targets which :: means that that rebuilding cannot successfully delete the task :: assembly. "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild...
7f6d9114-ad01-4e5c-93f8-33744041eb4d
{ "language": "Batchfile" }
```batchfile ``` Add bat script that is added into choosenim zip release.
```batchfile @echo off .\choosenim\choosenim.exe stable --firstInstall for /f "delims=" %%a in ('.\choosenim\choosenim.exe --getNimbleBin') do @set NIMBLEBIN=%%a copy .\choosenim\choosenim.exe "%NIMBLEBIN%\choosenim.exe" echo Work finished. echo Now you must ensure that the Nimble bin dir is i...
e0012f8d-c625-4962-87b8-6dbc88e53424
{ "language": "Batchfile" }
```batchfile @ECHO OFF ECHO. ECHO =============================================================== ECHO. ECHO Building: %1 ECHO. ECHO =============================================================== ECHO. Call "C:\Program Files (x86)\MSBuild\12.0\Bin\MsBuild.exe" %1 /p:Configuration=Release /p:PostBuildEvent= ``` Build...
```batchfile @ECHO OFF ECHO. ECHO =============================================================== ECHO. ECHO Building: %1 ECHO. ECHO =============================================================== ECHO. Call "C:\Program Files (x86)\MSBuild\12.0\Bin\MsBuild.exe" %1 /p:Configuration=Release /consoleloggerparameters:Summ...
3a1539e6-8106-4f85-8414-6cf90d355a52
{ "language": "Batchfile" }
```batchfile call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" nmake dir WIN2000_DEBUG\*.exe copy WIN2000_DEBUG\*.exe ..\Bin\ pause ``` Use RETAIL mode for Python Library Issues
```batchfile call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" nmake nodebug=1 dir WIN2000_DEBUG\*.exe copy WIN2000_DEBUG\*.exe ..\Bin\ pause ```
1156ef4f-3345-441f-88f4-20f406b508f3
{ "language": "Batchfile" }
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32 :: Ensure that the cygwin mount points are defined CALL %CYGWIN_ROOT%setup_mount.bat > ...
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files :: Fix cp.exe on vista: without this flag, the files that it creates are not accessible. set CYGWIN=nontsec set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%...
45a92a14-e4b0-4da1-bcf1-d87f009d9e9c
{ "language": "Batchfile" }
```batchfile ``` Add script to start all services at once.
```batchfile start nodemon SimulationManager/server.js start nodemon FloodSim/server.js start nodemon CriticalObjectSim/server.js start nodemon ElectricalNetworkSim/server.js start nodemon HazardousObjectSim/server.js start nodemon RoadSim/server.js start nodemon CommunicationSim/server.js```
98cc811d-ae45-44c7-84f6-90d65ff81692
{ "language": "Batchfile" }
```batchfile @ECHO OFF set GO_ROOT=%~dp0\..\..\.. set JRUBY_BASE=%GO_ROOT%\tools\jruby-1.7.11 set SERVER_ROOT=%GO_ROOT%\server set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9 set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME% set PATH=%JRUBY_BASE%\bin;%PATH...
```batchfile @ECHO OFF set GO_ROOT=%~dp0\..\..\.. set JRUBY_BASE=%GO_ROOT%\tools\jruby-1.7.11 set SERVER_ROOT=%GO_ROOT%\server set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9 set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME% set PATH=%JRUBY_BASE%\bin;%PATH...
1e8d432d-3da9-4281-8947-8dcac6c4da34
{ "language": "Batchfile" }
```batchfile setlocal set MYDIRBLOCK=%~dp0 call %MYDIRBLOCK%..\..\..\config_env_base.bat %HIDEWINDOW% h set EPICS_CAS_INTF_ADDR_LIST=127.0.0.1 set EPICS_CAS_BEACON_ADDR_LIST=127.255.255.255 set PYTHONUNBUFFERED=TRUE %PYTHON% %MYDIRBLOCK%ArchiverAccess\archiver_access.py ``` Put back echo and python
```batchfile @echo off setlocal set MYDIRBLOCK=%~dp0 call %MYDIRBLOCK%..\..\..\config_env_base.bat %HIDEWINDOW% h set EPICS_CAS_INTF_ADDR_LIST=127.0.0.1 set EPICS_CAS_BEACON_ADDR_LIST=127.255.255.255 set PYTHONUNBUFFERED=TRUE %PYTHONW% %MYDIRBLOCK%ArchiverAccess\archiver_access.py ```
4e15d44d-0482-4db6-8740-2ff0c04ea8eb
{ "language": "Batchfile" }
```batchfile @ECHO OFF :: Performs necessary setup steps to allow the use of :: virtualenv commands such as "mkvirtualenv [ENV_NAME]" :: for creating and using Python virtual environments. python -m pip install --upgrade virtualenv python -m pip install --upgrade virtualenvwrapper-win echo "" echo "" echo "*** You may...
```batchfile @ECHO OFF :: Performs necessary setup steps to allow the use of :: virtualenv commands such as "mkvirtualenv [ENV_NAME]" :: for creating and using Python virtual environments. python -m pip install --upgrade virtualenv python -m pip install --upgrade virtualenvwrapper-win echo: echo: echo: *** You may now...
354a0cc0-1f39-4617-ad80-995f13011681
{ "language": "Batchfile" }
```batchfile @echo off python "%~dp0\ktransw.py" %* ``` Add missing license to wrapper batch.
```batchfile @echo off REM REM Copyright (c) 2016, G.A. vd. Hoorn REM REM Licensed under the Apache License, Version 2.0 (the "License"); REM you may not use this file except in compliance with the License. REM You may obtain a copy of the License at REM REM http://www.apache.org/licenses/LICENSE-2.0 REM REM Unless...
22419ebf-ee8b-4af7-8992-7324797277fd
{ "language": "Batchfile" }
```batchfile @echo off cd "%~dp0" IF EXIST ..\composer.json IF NOT EXIST ..\vendor\.composer ( ECHO Composer installing vendors... >> ..\startup-tasks-log.txt 'D:\Program Files (x86)\PHP\v5.3\php.exe' ..\bin\composer.phar install ECHO Vendors installed >> ..\startup-tasks-log.txt ) ECHO Startin...
```batchfile @echo off cd "%~dp0" ECHO Starting Symfony Setup... >> ..\startup-tasks-log.txt 'D:\Program Files (x86)\PHP\v5.3\php.exe' ..\app\console --env=prod cache:clear ECHO Symfony Cache warmed up >> ..\startup-tasks-log.txt ```
5bd96085-9091-479c-9b97-fe259affdf76
{ "language": "Batchfile" }
```batchfile @echo off if "%1" == "build" goto build if "%1" == "tar" goto zip if "%1" == "zip" goto zip goto eof :build electron-packager . %npm_package_name% --platform=all --arch=x64 --version=%npm_package_electronVersion% --out=build --ignore="(build|node_modules)" --app-version="%npm_package_version%" --versio...
```batchfile @echo off if "%1" == "build" goto build if "%1" == "tar" goto zip if "%1" == "zip" goto zip goto eof :build electron-packager . %npm_package_name% --platform=all --arch=x64 --version=%npm_package_electronVersion% --out=build --ignore="(build|node_modules)" --app-version="%npm_package_version%" --versio...
c012a7d6-0655-4d09-9cfd-fbbbfd623563
{ "language": "Batchfile" }
```batchfile ``` Add script for studio with plugin running
```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...
16e6b08a-60b7-4abe-a7a6-ab5148b9f707
{ "language": "Batchfile" }
```batchfile @rem enter repo root cd /d %~dp0\..\..\..\.. cd csharp @rem see what dotnet version is available dotnet --version @rem TODO(jtattermusch): Kokoro workers currently only have dotnet SDK 2.1.3 @rem so we just overwrite the SDK requirement in global.json as the results @rem should be fully compatible. echo...
```batchfile @rem enter repo root cd /d %~dp0\..\..\..\.. cd csharp call build_packages.bat ```
abdbf104-d0d8-4160-81cb-56c85309f5a9
{ "language": "Batchfile" }
```batchfile REM Start copying files mkdir Src xcopy /D /S /I /Y ..\..\Src\UI\Web\*.py Src\ xcopy /D /S /I /Y ..\..\Src\UI\Web\*.bat Src\ xcopy /D /S /I /Y ..\..\Src\UI\Web\data Src\data xcopy /D /S /I /Y "..\..\Src\Bin Collector\*.py" Src\ xcopy /D /S /I /Y "..\..\Src\Diff Inspector\*.py" Src\ xcopy /D /S /I ...
```batchfile REM Start copying files mkdir Src xcopy /D /S /I /Y ..\..\Src\UI\Web\*.py Src\ xcopy /D /S /I /Y ..\..\Src\UI\Web\*.bat Src\ xcopy /D /S /I /Y ..\..\Src\UI\Web\data Src\data xcopy /D /S /I /Y "..\..\Src\Bin Collector\*.py" Src\ xcopy /D /S /I /Y "..\..\Src\Diff Inspector\*.py" Src\ xcopy /D /S /I ...
eda150fc-a2d0-420d-8458-4c3a35a8570a
{ "language": "Batchfile" }
```batchfile @setlocal EnableDelayedExpansion EnableExtensions @for %%i in (%~dp0\_packer_config*.cmd) do @call "%%~i" @if defined PACKER_DEBUG (@echo on) else (@echo off) if not defined PACKER_SERVICES set PACKER_SERVICES=opensshd sshd BvSshServer winrm title Starting services: %PACKER_SERVICES%. Please wait... :: ...
```batchfile @setlocal EnableDelayedExpansion EnableExtensions @for %%i in (%~dp0\_packer_config*.cmd) do @call "%%~i" @if defined PACKER_DEBUG (@echo on) else (@echo off) if not defined PACKER_SERVICES set PACKER_SERVICES=opensshd sshd BvSshServer winrm title Starting services: %PACKER_SERVICES%. Please wait... :: ...
6c56e0db-2ff9-418a-b959-15606573c5b2
{ "language": "Batchfile" }
```batchfile :: :: Microsoft Azure SDK for Net - Generate library code :: Copyright (C) Microsoft Corporation. All Rights Reserved. :: :: https://github.com/Azure/azure-rest-api-specs/commits/master @echo off set autoRestVersion=0.16.0-Nightly20160406 if "%1" == "" ( set specFile="https://raw.githubusercontent.c...
```batchfile :: :: Microsoft Azure SDK for Net - Generate library code :: Copyright (C) Microsoft Corporation. All Rights Reserved. :: @echo off set autoRestVersion=0.16.0-Nightly20160406 if "%1" == "" ( set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-storage/2015-06-15/swagg...
49391afa-fc0e-4927-aca8-8f817d7b8a62
{ "language": "Batchfile" }
```batchfile @rem Schema downloader @rem @rem Tool to download schemas. @echo off setlocal if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..) set cp= set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %* :done ``` Fix for sDownload tool. Ad...
```batchfile @rem Schema downloader @rem @rem Tool to download schemas. @echo off setlocal if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..) set cp= set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar set cp=%cp%;%XMLBEANS_HOME%\build\lib\resolver.jar java -cla...
7ef11ffb-6960-462f-874c-5f6bc527e40a
{ "language": "Batchfile" }
```batchfile ``` Add batch file for Windows support
```batchfile @echo off rem %~dp0 returns the absolute path where the current script is. We just append 'iban-check' to it, and forward all the arguments with %* ruby "%~dp0iban-check" %* ```
da769b4f-f701-445c-9e8b-e89d37bb22b2
{ "language": "Batchfile" }
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32 :: Ensure that the cygwin mount points are defined CALL %CYGWIN_ROOT%setup_mount.bat > ...
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files :: Fix cp.exe on vista: without this flag, the files that it creates are not accessible. set CYGWIN=nontsec set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%...
1d07d76f-3c4f-4182-b2de-dcbb123a12dd
{ "language": "Batchfile" }
```batchfile :: This script assumes the standard setup on tensorflow Jenkins windows machines. :: It is NOT guaranteed to work on any other machine. Use at your own risk! :: :: REQUIREMENTS: :: * All installed in standard locations: :: - JDK8, and JAVA_HOME set. :: - Microsoft Visual Studio 2015 Community Edition :...
```batchfile :: This script assumes the standard setup on tensorflow Jenkins windows machines. :: It is NOT guaranteed to work on any other machine. Use at your own risk! :: :: REQUIREMENTS: :: * All installed in standard locations: :: - JDK8, and JAVA_HOME set. :: - Microsoft Visual Studio 2015 Community Edition :...
2757d9d0-3c7a-46fc-8dab-22444beda4ba
{ "language": "Batchfile" }
```batchfile Set DecorateName=DecorateName Set Book=mencius Set FontType=Traditional Set BookFont=%Book%_%FontType% Set CSSExt=.css Set CSS_=--css=..\css\ Set NameStyle=%CSS_%%DecorateName%%CSSExt% Set Output=%BookFont% If "%1" == "name" ( Set Output=%Output%_%DecorateName% Set Style=%NameStyle% ) If ...
```batchfile Set DecorateName=DecorateName Set Book=mencius Set FontType=Traditional Set BookFont=%Book%_%FontType% Set CSSExt=.css Set CSS_=--css=..\css\ Set NameStyle=%CSS_%%DecorateName%%CSSExt% Set Output=%BookFont% If "%1" == "name" ( Set Output=%Output%_%DecorateName% Set Style=%NameStyle% ) If ...
4326fdd8-4ccb-409a-81fc-659d5bf72540
{ "language": "Batchfile" }
```batchfile setlocal EnableDelayedExpansion echo Running Windows build and testscript %~dp0..\matlab\CIBuildAndTest.m echo Path: %PATH% set MATCOMMAND="try, run('%~dp0..\matlab\CIBuildAndTest.m'), catch ex, system(['ECHO Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);" "C:\Program Files\MATL...
```batchfile setlocal EnableDelayedExpansion echo Running Windows build and testscript %~dp0..\matlab\CIBuildAndTest.m echo Path: %PATH% set MATCOMMAND="try, run('%~dp0..\matlab\CIBuildAndTest.m'), catch ex, system(['ECHO Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);" "C:\Program Files\MATL...
592d5426-80fb-4f10-8c5b-a050988545b6
{ "language": "Batchfile" }
```batchfile ::I use PortableGit\bin in PATH git init ::Ensure we have these for the next step git checkout master && git commit -a -m "Deployment" && git push ::Switch to gh-pages, pull from master, commit, then switch back to master. git checkout gh-pages && git checkout master psdle*.js && git checkout master psdle....
```batchfile ::I use PortableGit\bin in PATH git init ::Ensure we have these for the next step git checkout master && git commit -a -m "Deployment" && git push ::Switch to gh-pages, pull from master, commit, then switch back to master. git checkout gh-pages && git checkout master psdle*.js && git commit -a -m "Sync wit...
f5f614a2-5740-4551-a5fd-a2199588c467
{ "language": "Batchfile" }
```batchfile ``` Add publish.bat to push packages to vnext nuget server
```batchfile @echo off dotnet pack src/AspectCore.Lite.Abstractions --configuration Release --output packages dotnet pack src/AspectCore.Lite.Abstractions.Generator --configuration Release --output ../packages dotnet pack src/AspectCore.Lite.Abstractions.Resolution --configuration Release --output packages dotnet pack ...
6c7a27d0-4737-4469-b0f1-b82a96d0b9da
{ "language": "Batchfile" }
```batchfile @echo off cd build nuget restore packages.config -PackagesDirectory . cd .. build\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test tests\LineBot.Tests\LineBot.Tests.csproj --no-build -c release /p:codecov=true" -register:user -threshold:10 -oldStyle -safemode:off -ou...
```batchfile @echo off cd build nuget restore packages.config -PackagesDirectory . cd .. build\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test tests\LineBot.Tests\LineBot.Tests.csproj --no-build -c release /p:codecov=true" -register:user -threshold:10 -oldStyle -safemode:off -ou...
de458e75-440b-41c8-88ab-12653c363681
{ "language": "Batchfile" }
```batchfile echo off call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -test cd dist/msvc-compatible cl *.c /I ../kremlin/include /I . /I ../kreml...
```batchfile echo off call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -test cd dist/msvc-compatible cl *.c /I ../kremlin/include /I . /I ../kreml...
b0b3702f-5cce-4868-b4fa-dff13c2a8376
{ "language": "Batchfile" }
```batchfile cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.12/ < src\libsodium\include\sodium\version.h.in > tmp cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/9/ < tmp > tmp2 cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/9/ < tmp2 > tmp3 cscript msvc-scripts/rep...
```batchfile cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.12/ < src\libsodium\include\sodium\version.h.in > tmp cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/9/ < tmp > tmp2 cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/4/ < tmp2 > tmp3 cscript msvc-scripts/rep...
262aaa18-2f62-489a-a4f1-3f3879cc36e1
{ "language": "Batchfile" }
```batchfile @Echo Off REM set your api key once: nuget setApiKey Your-API-Key SET "nuget_basedir=" "%ProgramFiles(x86)%/Microsoft Visual Studio 14.0/Common7/IDE/devenv" /build release ../proj/SecurityServer/proj/SecurityServer.sln IF %ERRORLEVEL% NEQ 0 ( echo. && echo. && echo Build failed. exit /B 1 ) %nuget_...
```batchfile @Echo Off REM set your api key once: nuget setApiKey Your-API-Key SET "nuget_basedir=" "%ProgramFiles(x86)%/Microsoft Visual Studio 14.0/Common7/IDE/devenv" /build release ../proj/SecurityServer/proj/SecurityServer.sln IF %ERRORLEVEL% NEQ 0 ( echo. && echo. && echo Build failed. exit /B 1 ) %nuget_...
32e265e9-469d-4bcf-80bb-f9a26489baad
{ "language": "Batchfile" }
```batchfile @echo off set /P NVM_PATH="Enter the absolute path where the zip file is extracted/copied to: " set NVM_HOME=%NVM_PATH% set NVM_SYMLINK=C:\Program Files\nodejs setx /M NVM_HOME "%NVM_HOME%" setx /M NVM_SYMLINK "%NVM_SYMLINK%" for /f "skip=2 tokens=2,*" %%A in ('reg query "HKLM\System\CurrentControlSet\Con...
```batchfile @echo off set /P NVM_PATH="Enter the absolute path where the nvm-windows zip file is extracted/copied to: " set NVM_HOME=%NVM_PATH% set NVM_SYMLINK=C:\Program Files\nodejs setx /M NVM_HOME "%NVM_HOME%" setx /M NVM_SYMLINK "%NVM_SYMLINK%" for /f "skip=2 tokens=2,*" %%A in ('reg query "HKLM\System\CurrentCo...
bde1e5b2-0e94-48b9-a3d8-f69a59abb70c
{ "language": "Batchfile" }
```batchfile @echo off cd %~dp0.. rake -f Build\build-win.rb "build:no_test_build[., SevenDigital.Messaging.sln, build, full, local, Release]" ``` Update build.cmd to use platform agnostic rakefile
```batchfile @echo off cd %~dp0.. rake -f build\build.rb "build:no_test_build[., SevenDigital.Messaging.sln, build, full, local, Release]" ```
7e187ac1-c9f9-4a52-845b-9d6b5f21b6cc
{ "language": "Batchfile" }
```batchfile @rem Change the current directory to the one containing this script @cd %~dp0 @rem Build Hadrian and dependencies @stack build @rem Run Hadrian in GHC top directory forwarding additional user arguments @stack exec hadrian -- --lint --directory ".." %* ``` Exit the build script if Hadrian cannot be built
```batchfile @rem Change the current directory to the one containing this script @cd %~dp0 @rem Build Hadrian and dependencies and exit the script if the build failed @stack build @if %errorlevel% neq 0 exit /B %errorlevel% @rem Run Hadrian in GHC top directory forwarding additional user arguments @stack exec hadrian...
a5f0d86c-59e7-4c61-812c-d68453e36ff7
{ "language": "Batchfile" }
```batchfile @echo off setlocal set PATH=C:\Program Files (x86)\Git\bin\;%PATH% call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat" x86 REM call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\vcvarsall.bat" x86 set DXROOT=C:\Program Files\Sandcastle %~dp0\External\nant\bin\nant %*...
```batchfile @echo off setlocal set PATH=C:\Program Files (x86)\Git\bin\;%PATH% REM call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat" x86 call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\vcvarsall.bat" x86 set DXROOT=C:\Program Files\Sandcastle %~dp0\External\nant\bin\nant %*...
f49e4348-1f4e-4db4-9e35-c796546105a5
{ "language": "Batchfile" }
```batchfile ``` Add Windows bat file for flashing arduino firmware
```batchfile @echo off if "%1"=="" goto :usage if "%2"=="" ( echo Error! No hex file provided. goto :usage ) if not exist "%2" ( echo %2 does not exist goto :eof ) if not exist avrdude.exe ( echo Error! This script must be executed within the "avr" directory goto :eof ) avrdude.exe -c stk500v2 -b 115200 -p...
bb5fd55e-6a42-4543-a553-e632bf7dbb7d
{ "language": "Batchfile" }
```batchfile echo Running Windows build and test call "C:\Program Files\MATLAB\R2015b\bin\matlab.exe" -wait -nodisplay -nosplash -nodesktop -r "try, run('$(pwd)/matlab/CIBuildAndTest.m'), catch ex, disp(['Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);" if not "%ERRORLEVEL%" == "0" ( echo...
```batchfile echo Running Windows build and test call "C:\Program Files\MATLAB\R2015b\bin\matlab.exe" -wait -nodisplay -nosplash -nodesktop -r "try, run('%cd%/matlab/CIBuildAndTest.m'), catch ex, disp(['Exception during CIBuildAndTest.m: ' ex.message]), exit(1), end, exit(0);" if not "%ERRORLEVEL%" == "0" ( echo E...
14708f4c-04b3-42d3-9567-c1c5342e1f47
{ "language": "Batchfile" }
```batchfile call clean ..\Output\NET40\Examples call clean ..\Output\NET45\Examples REM "C:\Program Files\7-Zip\7z.exe" a ..\Output\OxyPlot-NET40-%1.zip ..\Output\NET40\*.* > ZipRelease.log REM "C:\Program Files\7-Zip\7z.exe" a ..\Output\OxyPlot-NET45-%1.zip ..\Output\NET45\*.* >> ZipRelease.log REM "C:\Program ...
```batchfile mkdir ..\Output\Release mkdir ..\Output\Release\NET40 mkdir ..\Output\Release\NET45 mkdir ..\Output\Release\NetCore45 mkdir ..\Output\Release\NetCore45\Themes mkdir ..\Output\Release\SL5 copy ..\Output\NET45\OxyPlot.??? ..\Output\Release copy ..\Output\NET40\OxyPlot.WindowsForms.??? ..\Output\Re...
e1b482de-7636-4061-b8bb-7e30ca64ce69
{ "language": "Batchfile" }
```batchfile ``` Add batch file for windows
```batchfile @echo off @rem Check for mvn in path, use it if found, otherwise use maven wrapper @set MAVEN_CMD=mvn @WHERE /Q mvn @IF %ERRORLEVEL% NEQ 0 set MAVEN_CMD=.\mvnw.bat @if "%1" == "" call:help @if "%1" == "copy" call:copy @if "%1" == "clean" call:clean %2 %3 %4 @if "%1" == "package" call:package %2 %3 %4 @if...
cce8767f-516a-44ed-81ac-a749ad197a70
{ "language": "Batchfile" }
```batchfile ECHO Clone Dolphin image environment git clone -q --branch=master https://github.com/dolphinsmalltalk/Dolphin.git Dolphin ECHO Copy executables copy ..\..\Dolphin7.exe Dolphin copy ..\..\DolphinVM7.dll Dolphin copy ..\..\DolphinCR7.dll Dolphin copy ..\..\DolphinDR7.dll Dolphin copy ..\..\DolphinSureCrypto...
```batchfile ECHO Clone Dolphin image environment git clone -q --branch=master https://github.com/dolphinsmalltalk/Dolphin.git Dolphin ECHO Copy executables copy ..\..\*.exe Dolphin copy ..\..\*.dll Dolphin ECHO Boot and test image cd Dolphin CALL BootDPRO CALL TestDPRO```
0db9c4d0-9864-48f6-9962-35c974792dd3
{ "language": "Batchfile" }
```batchfile REM Clean Up rmdir /Q /S Src rmdir /Q /S Bin del /Q DarunGrim3.zip mkdir Src\bin copy ..\DarunGrim2\* Src\bin\ copy ..\..\Publish\Docs\*.pdf Src\bin call CopySrc.bat REM Generate binaries pushd Src c:\python26\python SetupDist.py py2exe popd REM Prepare binary directory REM Copy necess...
```batchfile REM Clean Up rmdir /Q /S Src rmdir /Q /S Bin del /Q DarunGrim3.zip mkdir Src\bin copy ..\DarunGrim2\* Src\bin\ copy ..\..\Publish\Docs\*.pdf Src\bin call CopySrc.bat del Src\*.pyc REM Generate binaries pushd Src c:\python26\python SetupDist.py py2exe popd REM Prepare binary directory ...
709fe8ee-f12f-4d89-b913-d924b402fe6a
{ "language": "Batchfile" }
```batchfile setlocal pushd %~dp0 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319 call %msBuildDir%\msbuild.exe ClientKit\ClientKit.csproj /p:Configuration=Release20 /p:OutputPath=..\Managed-OSVR-Unity /p:NativeOutputSuffix32=x86 /p:NativeOutputSuffix64=x86_64%* endlocal ``` Fix build by restoring a...
```batchfile setlocal pushd %~dp0 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319 call %msBuildDir%\msbuild.exe ClientKit\ClientKit.csproj /p:Configuration=Release20 /p:OutputPath=..\Managed-OSVR-Unity /p:NativeOutputSuffix32=x86 /p:NativeOutputSuffix64=x86_64 %* endlocal ```
071d7dbc-a4e4-4302-8921-2c46cb799565
{ "language": "Batchfile" }
```batchfile @echo off SETLOCAL cd /D %~dp0 call settings.cmd call ..\unxutils.cmd cd dist\%ARCH% call pp -B -o psass.exe ^ -I ../../../blib/lib ^ -M Encode::Byte ^ -M PerlIO::encoding ^ -M List::MoreUtils::XS ^ -M List::MoreUtils::PP ^ -M Win32::ChangeNotify ^ -M Filesys::Notify::Simple ^ -l "%PERLDIR%/perl/site/lib...
```batchfile @echo off SETLOCAL cd /D %~dp0 call settings.cmd call ..\unxutils.cmd cd dist\%ARCH% call pp -B -o psass.exe ^ -I ../../../blib/lib ^ -M Benchmark ^ -M Encode::Byte ^ -M PerlIO::encoding ^ -M List::MoreUtils::XS ^ -M List::MoreUtils::PP ^ -M Win32::ChangeNotify ^ -M Filesys::Notify::Simple ^ -l "%PERLDIR...
6fcf52d6-3009-411b-b928-2099c9f4c7d5
{ "language": "Batchfile" }
```batchfile @echo off set cwd=%cd% cd /D %~dp0 set DevCmd="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" set MSBuildOptions=/v:m /p:Configuration=Release set BuildDir64="build-exe-64" set BuildDir32="build-exe-32" call %DevCmd% echo Building 64-bit tev... mkdir %BuildDir...
```batchfile @echo off set cwd=%cd% cd /D %~dp0 set DevCmd="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" set MSBuildOptions=/v:m /p:Configuration=Release set BuildDir64="build-exe-64" call %DevCmd% echo Building 64-bit tev... mkdir %BuildDir64% cd %BuildDir64% cmake...
d1ce2c08-85ca-4b96-b290-8dcccf9fa766
{ "language": "Batchfile" }
```batchfile ``` Add script to disable offiescan context menu
```batchfile @echo off setlocal EnableDelayedExpansion set registryRoot=HKCU\Software\Classes set key=OfficeScan NT reg add "%registryRoot%\*\shellex\ContextMenuHandlers\%key%" /d "---" /f ```
f2a91cea-8beb-4d93-866a-18facaee8191
{ "language": "Batchfile" }
```batchfile ``` Add script to generate gold CSVs
```batchfile :: Copyright 2020 Intel Corporation :: :: Permission is hereby granted, free of charge, to any person obtaining a copy :: of this software and associated documentation files (the "Software"), to :: deal in the Software without restriction, including without limitation the :: rights to use, copy, modi...
3c7dd7df-ab22-4dc5-93e7-2a6815144173
{ "language": "Batchfile" }
```batchfile ``` Add windows start batch script
```batchfile @echo off @title AvaIre Windows Launcher setlocal enabledelayedexpansion set Looping=False cls :START echo. echo Welcome to AvaIre's window launcher echo Please select an option to begin: echo. echo 1. Start the bot normally echo 2. Start the bot with automatic restarts echo 3. Update the bot u...
80cd850b-c2f8-46e9-825c-760d964baebc
{ "language": "Batchfile" }
```batchfile @echo off npm i&& for /D %%i in (zeronet-*) do (cd "%%i"&& npm i&& cd ..) goto :eof ``` Use symlink for windows too
```batchfile @echo off npm i&& for /D %%i in (zeronet-*) do (cd "%%i"&& mklink /D node_modules ..\node_modules&& cd ..) goto :eof ```
d08eba5f-c109-4fbe-b9c5-e690b21ea7a8
{ "language": "Batchfile" }
```batchfile CD git/re2 || EXIT /B 1 cmake . || EXIT /B 1 cmake --build . --clean-first || EXIT /B 1 ctest -E dfa^|exhaustive^|random || EXIT /B 1 cmake -DCMAKE_BUILD_TYPE=Release . || EXIT /B 1 cmake --build . --clean-first ...
```batchfile CD git/re2 || EXIT /B 1 cmake -D CMAKE_BUILD_TYPE=Debug -A x64 . || EXIT /B 1 cmake --build . --config Debug --clean-first || EXIT /B 1 ctest --build-config Debug -E dfa^|exhaustive^|random ...
abd01400-4c3a-4ce2-b8a6-41a56d1eb1cc
{ "language": "Batchfile" }
```batchfile @java -Xbootclasspath/a:.;nqp-runtime.jar;3rdparty/asm/asm-4.1.jar nqp %* ``` Fix Windows runner to load jline JAR.
```batchfile @java -Xbootclasspath/a:.;nqp-runtime.jar;3rdparty/asm/asm-4.1.jar;3rdparty/jline/jline-1.0.jar nqp %* ```
9f25bd5a-b7e3-4f96-b516-b23b73b724e2
{ "language": "Batchfile" }
```batchfile @rem if we don't have nmake in the path, we need to run setup where nmake.exe 2> NUL if %ERRORLEVEL% GTR 0 set need_setup=1 @rem if we don't have the include path set, we need to run setup if not defined INCLUDE set need_setup=1 @rem run setup if we need to if %need_setup% == 1 call "c:\Program Files (x8...
```batchfile @rem if we don't have nmake in the path, we need to run setup where nmake.exe 2> NUL if %ERRORLEVEL% GTR 0 set need_setup=1 @rem if we don't have the include path set, we need to run setup if not defined INCLUDE set need_setup=1 @rem run setup if we need to if %need_setup% == 1 call "c:\Program Files (x8...
fba78d2f-a6b6-4985-b005-7300ad84ee03
{ "language": "Batchfile" }
```batchfile @echo off setlocal enabledelayedexpansion where /q msbuild if "%ERRORLEVEL%" == "0" ( goto :SkipDeveloperSetup ) set DeveloperCommandPrompt=%VS140COMNTOOLS%\VsDevCmd.bat if not exist "%DeveloperCommandPrompt%" ( echo In order to build this repository, you either need 'msbuild' on the path or Visua...
```batchfile @echo off setlocal enabledelayedexpansion where /q msbuild if "%ERRORLEVEL%" == "0" ( goto :SkipDeveloperSetup ) set DeveloperCommandPrompt=%VS150COMNTOOLS%\VsDevCmd.bat if not exist "%DeveloperCommandPrompt%" ( echo In order to build this repository, you either need 'msbuild' on the path or Visua...
857f646b-af9a-4987-851b-6381550ccafa
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM Sample usages: REM REM Building and running tests REM - build.libgit2sharp.cmd REM REM Building and identifying potential leaks while running tests REM - build.libgit2sharp.cmd "LEAKS_IDENTIFYING" SETLOCAL SET EXTRADEFINE=%~1 where dotnet 1>nul 2>nul IF ERRORLEVEL 1 ( ECHO Cannot ...
```batchfile @ECHO OFF REM Sample usages: REM REM Building and running tests REM - buildandtest.cmd REM REM Building and identifying potential leaks while running tests REM - buildandtest.cmd "LEAKS_IDENTIFYING" SETLOCAL SET EXTRADEFINE=%~1 where dotnet 1>nul 2>nul IF ERRORLEVEL 1 ( ECHO Cannot find dotnet....
71a83f86-4ef0-46df-81d0-01d6c9ccaa37
{ "language": "Batchfile" }
```batchfile @echo off set PYTHON=%~1 set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% python -m pytest python -m flake8 ``` Use pytest and flake8 commands.
```batchfile set PYTHON=%~1 set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% pytest flake8 ```
310a642f-6f3e-4b2f-b57e-c1b4e1ca7be0
{ "language": "Batchfile" }
```batchfile set projectPath=%~dp0 set androidStudioBin=A:\AndroidStudio\bin rem Android Studio needs the project path without a trailing backslash if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% start "" /D "%androidStudioBin%" "studio.exe" "%projectPath%"``` Use studio64.exe instead of studio.exe
```batchfile set projectPath=%~dp0 set androidStudioBin=A:\AndroidStudio\bin rem Android Studio needs the project path without a trailing backslash if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1% start "" /D "%androidStudioBin%" "studio64.exe" "%projectPath%"```
975b0354-e8bb-4587-b3fa-f4bdec06467c
{ "language": "Batchfile" }
```batchfile @echo off :: install chocolatey @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin choco feature enable -n allowGlobalConfirmation :: genera...
```batchfile @echo off :: install chocolatey @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin choco feature enable -n allowGlobalConfirmation :: genera...
0443fd6f-fec7-4b75-ba58-855616827196
{ "language": "Batchfile" }
```batchfile @echo off Rem Run UnRAVL's main entry point. Rem Command line arguments are UnRAVL script files to execute: Rem unravl.bat script1.json script2.json script3.json set UNRAVL_DIR=%~dp0..\..\.. set UNRAVL_JAR_DIR=%UNRAVL_DIR%\build\libs set UNRAVL_LIB_DIR=%UNRAVL_DIR%\build\output\lib java -Dapp.name=UnRAV...
```batchfile @echo off Rem Run UnRAVL's main entry point. Rem Command line arguments are UnRAVL script files to execute: Rem unravl.bat script1.json script2.json script3.json set UNRAVL_DIR=%~dp0..\..\.. set UNRAVL_JAR_DIR=%UNRAVL_DIR%\build\libs set UNRAVL_LIB_DIR=%UNRAVL_DIR%\build\output\lib java -Dapp.name=UnRAV...
796c37b0-045c-436a-9101-5bd13da48db8
{ "language": "Batchfile" }
```batchfile ``` Add sample commands for using Glacier
```batchfile C:\Python27\Scripts\aws glacier initiate-job --account-id - ^ --vault-name demschooltools-backups ^ --job-parameters "{\"Type\": \"inventory-retrieval\"}" rem request an archive rem C:\Python27\Scripts\aws glacier initiate-job --account-id - ^ rem --vault-name demschooltools-backups ^ rem ...
3c49db29-3f3e-4ed6-af19-dd6b3f3e9650
{ "language": "Batchfile" }
```batchfile @ECHO OFF SET BASEDIR=%~dp0.. SET USERINI=%BASEDIR%\user.ini FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do ( set CF_USER=%%a set CF_PASS=%%b ) SET PYTHON_HOME=C:\Python36 SET DOTNET_HOME=C:\Program Files\dotnet SET JAVA_HOME=C:\opt\oracle-jdk-8 SET GIT_HOME=C:\Program Files\...
```batchfile @ECHO OFF SET BASEDIR=%~dp0.. SET USERINI=%BASEDIR%\user.ini FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do ( set CF_USER=%%a set CF_PASS=%%b ) SET PYTHON_HOME=C:\Python36 SET DOTNET_HOME=C:\Program Files\dotnet SET JAVA_HOME=C:\opt\oracle-jdk-8 SET GIT_HOME=C:\Program Files\...
fa31771f-8fe8-4bad-aec7-53928c6a4069
{ "language": "Batchfile" }
```batchfile ``` Add script to bump all prerelease corefx package build numbers
```batchfile @echo off if "%1" == "" goto :usage if "%2" == "" goto :usage goto :main :usage echo Usage: %~n0 [directory] [build] echo. echo Recursively replaces all occurrences of 4.0.XX-beta-YYYYY in echo [directory]\*.config;*.csproj;*.nuspec with 4.0.XX-beta-[build] goto :eof :main pushd %1 && git clean -f pa...
8f6e7cda-b5f9-44d9-b8a6-67467bdd1872
{ "language": "Batchfile" }
```batchfile @ECHO OFF Setlocal EnableDelayedExpansion CALL __Global.cmd ECHO *** Go Build *** ECHO Build compiles packages and dependencies with race condition detector ECHO. FOR /F "tokens=*" %%A IN (Packages.txt) DO ( SET PACKAGE=%%A ECHO Building: !PACKAGE! cd "%GOPATH%\src\!PACKAGE!" go build -v -race %LDFLAGS...
```batchfile @ECHO OFF Setlocal EnableDelayedExpansion CALL __Global.cmd ECHO *** Go Build *** ECHO Build compiles packages and dependencies with race condition detector ECHO. FOR /F "tokens=*" %%A IN (Packages.txt) DO ( SET PACKAGE=%%A ECHO Building: !PACKAGE! cd "%GOPATH%\src\!PACKAGE!" DEL /Q /F *.syso go build ...
3703ed63-76d0-44f5-acd1-995d1f520a60
{ "language": "Batchfile" }
```batchfile ``` Add script to build a Windows package on Windows
```batchfile @echo off :: This script will create a packaged version of the app in firmware_flasher in your home folder. :: After executing this script, use NSIS to create an installer from the firmware_flasher.win32.nsi file located there. :: You may need to run npm install electron-packager --global once before this...
192c1594-d255-4f22-bea1-9733b91ad9c5
{ "language": "Batchfile" }
```batchfile @echo off cd src pip install -r requirements.txt pause ``` Add local.py to windows install
```batchfile @echo off cd src pip install -r requirements.txt copy src\settings\local.py.example src\settings\local.py pause ```
1747a6e8-02f6-4f59-8cef-74e1204906ad
{ "language": "Batchfile" }
```batchfile call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 set DISTUTILS_USE_SDK=1 set MSSdk=1 "%PYTHON%" setup.py install if errorlevel 1 exit 1 ``` Fix conda build on 32-bit Windows
```batchfile if "%ARCH%" == "32" (set PLATFORM=x86) else (set PLATFORM=x64) call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM% set DISTUTILS_USE_SDK=1 set MSSdk=1 "%PYTHON%" setup.py install if errorlevel 1 exit 1 ```
42565b31-d3ce-4742-b0f0-8360793b2b44
{ "language": "Batchfile" }
```batchfile @rem Used by the buildbot "buildmsi" step. cmd /c Tools\buildbot\external.bat @rem build release versions of things call "%VS90COMNTOOLS%vsvars32.bat" if not exist ..\db-4.4.20\build_win32\release\libdb44s.lib ( vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Release /project db_static ) @rem buil...
```batchfile @rem Used by the buildbot "buildmsi" step. cmd /c Tools\buildbot\external.bat @rem build release versions of things call "%VS90COMNTOOLS%vsvars32.bat" @rem build Python cmd /q/c Tools\buildbot\kill_python.bat vcbuild /useenv PCbuild\pcbuild.sln "Release|Win32" @rem build the documentation bash.exe -c 'c...
e36c8961-6d35-4224-b8ed-9b60e50eba0b
{ "language": "Batchfile" }
```batchfile @echo off echo Building Module. echo Dependencies: GIT, PREMAKE5, VISUAL STUDIO 2015/2013. echo. :: Hacky way to ensure we've got a git repository & submodules at our disposal git init git submodule update --init --recursive echo. :: Fire up a Visual Studio command-line environment and generate our solu...
```batchfile @echo off echo Building Module. echo Dependencies: GIT, PREMAKE5, VISUAL STUDIO 2015/2013. echo. :: Hacky way to ensure we've got a git repository & submodules at our disposal git init git submodule update --init --recursive echo. :: Fire up a Visual Studio command-line environment and generate our solu...
b46de198-43db-476d-bf48-be9839db2001
{ "language": "Batchfile" }
```batchfile @if "%DEBUG%" == "" @echo off setlocal set SOURCE_DIR=%CD% set BUILD_DIR=%CD%\cppbuild\Release if EXIST %BUILD_DIR% rd /S /Q %BUILD_DIR% md %BUILD_DIR% pushd %BUILD_DIR% cmake -G "Visual Studio 16 2019" -DBUILD_AERON_DRIVER=ON %SOURCE_DIR% cmake --build . --clean-first --config Release ctest -C Release...
```batchfile @if "%DEBUG%" == "" @echo off setlocal set SOURCE_DIR=%CD% set BUILD_DIR=%CD%\cppbuild\Release if EXIST %BUILD_DIR% rd /S /Q %BUILD_DIR% md %BUILD_DIR% pushd %BUILD_DIR% cmake -G "Visual Studio 16 2019" -DBUILD_AERON_DRIVER=ON %SOURCE_DIR% if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL% cmake --build . --c...
55e352dd-c01f-46c8-8698-1770a5ea8bf0
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM Run all code generation scripts REM Requires iMatix GSL4, from http:\\www.nuget.org\packages\gslgen REM Use this when: REM - you add a socket option (sockopts.xml) REM - add a new project class (project.xml) REM - modify one of the referenced gsl templates (*.gsl) mkd...
```batchfile @ECHO OFF REM Run all code generation scripts REM Requires iMatix GSL4, from http:\\www.nuget.org\packages\gsl REM Use this when: REM - you add a socket option (sockopts.xml) REM - add a new project class (project.xml) REM - modify one of the referenced gsl templates (*.gsl) mkdir ...
6aedffa6-fbd3-46cf-a1fa-0588e6c376ec
{ "language": "Batchfile" }
```batchfile @echo off rem math/big tests set PATH_TO_ODIN==..\..\..\..\odin set TEST_ARGS=-fast-tests set TEST_ARGS=-no-random set TEST_ARGS= set OUT_NAME=math_big_test_library set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style echo --- echo Running core...
```batchfile @echo off rem math/big tests set PATH_TO_ODIN==..\..\..\..\odin set TEST_ARGS=-fast-tests set TEST_ARGS=-no-random set TEST_ARGS= set OUT_NAME=math_big_test_library.dll set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style echo --- echo Running ...
16ccee23-0cf3-4024-8383-51e559d9aed4
{ "language": "Batchfile" }
```batchfile @echo off pushd %~dp0 dotnet ArchiSteamFarm.dll %ASF_ARGS% ``` Add arguments parsing to batch script
```batchfile @echo off pushd %~dp0 :loop IF NOT "%1" == "" ( SET ASF_ARGS=%ASF_ARGS% %1 SHIFT GOTO :loop ) dotnet ArchiSteamFarm.dll %ASF_ARGS% ```
c87916e4-c4a4-4392-9efb-473827a6a0ed
{ "language": "Batchfile" }
```batchfile @echo off cls cd ".\src\Pickles\packages\NuGet.CommandLine.2.8.3\tools\" ".\NuGet.exe" "Install" "FAKE" "-OutputDirectory" "..\..\..\..\..\packages" "-ExcludeVersion" cd ..\..\..\..\.. "packages\FAKE\tools\Fake.exe" build.fsx --envvar version 0.19.0 "packages\FAKE\tools\Fake.exe" nuget.fsx --envvar ver...
```batchfile @echo off set "picklesVersion=0.19.0" cls cd ".\src\Pickles\packages\NuGet.CommandLine.2.8.3\tools\" ".\NuGet.exe" "Install" "FAKE" "-OutputDirectory" "..\..\..\..\..\packages" "-ExcludeVersion" cd ..\..\..\..\.. "packages\FAKE\tools\Fake.exe" build.fsx --envvar version %picklesVersion% "packages\FA...
eb321b39-1ec8-4a32-9d83-da0aa1864385
{ "language": "Batchfile" }
```batchfile ``` Add script to reduce distributable size from 358 MB to 162 MB
```batchfile :: Script to trim size of unpacked build output. :: Removes extraneous contents not required to run Zephyr. :: Expected to be run from `.scripts` directory. @ECHO off set WORKING_DIRECTORY=..\dist\win-unpacked\resources\app.asar.unpacked\node_modules\node-openvr :: Check that working directory exists IF ...
73e867ec-f0b6-4fee-8feb-15e3e3795e09
{ "language": "Batchfile" }
```batchfile @echo off cls java -Dj3d.rend=d3d -Djava.util.logging.config.file=conf/logging.properties -Xms512m -Xmx1384m -cp MZmine.jar net.sf.mzmine.main.MZmineClient ``` Complete implementation of module io running as a task.
```batchfile @echo off cls java -Dj3d.rend=d3d -Djava.library.path=lib -Djava.util.logging.config.file=conf/logging.properties -Xms512m -Xmx1384m -cp MZmine.jar net.sf.mzmine.main.MZmineClient ```
8da09fa4-e028-4972-a2f6-4676d6afe641
{ "language": "Batchfile" }
```batchfile @rem Fetches (and builds if necessary) external dependencies @rem Assume we start inside the Python source directory call "Tools\buildbot\external-common.bat" call "%VS90COMNTOOLS%\vsvars32.bat" if not exist tcltk\bin\tcl85g.dll ( cd tcl-8.5.2.1\win nmake -f makefile.vc COMPILERFLAGS=-DWI...
```batchfile @rem Fetches (and builds if necessary) external dependencies @rem Assume we start inside the Python source directory call "Tools\buildbot\external-common.bat" call "%VS90COMNTOOLS%\vsvars32.bat" if not exist tcltk\bin\tcl85.dll ( @rem all and install need to be separate invocations, otherwise ...
690b4604-d373-4b83-851d-459d510eb2f5
{ "language": "Batchfile" }
```batchfile set ssh_key=%1 set ssh_server_name=%2 set ssh_uname=%3 set client_session_dir=%4 set server_session_dir=%5 set session_name=%6 set container_path=%7 set algorithm=%8 @echo %algorithm% @echo here 1 @echo %client_session_dir% @echo %server_session_dir% pscp -noagent -r %client_session_dir% %ssh_uname%@%ssh...
```batchfile set ssh_key=%1 set ssh_server_name=%2 set ssh_uname=%3 set client_session_dir=%4 set server_session_dir=%5 set session_name=%6 set container_path=%7 set algorithm=%8 @echo %algorithm% @echo Copying session dir from client to server... @echo %client_session_dir% @echo %server_session_dir% pscp -noagent -r...
39352a44-add0-48ef-9d15-85f9f1c2bc55
{ "language": "Batchfile" }
```batchfile nuget pack Pelasoft.AspNet.Mvc.Slack.csproj -Verbosity detailed -Build -IncludeReferencedProjects -Properties Configuration=Release``` Add package action remind notice.
```batchfile @echo off echo. echo ###### Nuget Creation Checklist ###### echo ## ## echo ## * Update assembly version number ## echo ## * Update nuspec revision notes ## echo ## * Create tag after final commit ## echo ## ## echo ##########...
cc6a69c6-219a-401c-abb6-e681c0b53ffd
{ "language": "Batchfile" }
```batchfile @REM Configure the build of phreeqc4rkt cmake -S . -B build ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DBUILD_SHARED_LIBS=ON ^ -DYAML_BUILD_SHARED_LIBS=ON ^ -DYAML_CPP_BUILD_TESTS=OFF @REM Build and install phre...
```batchfile @REM Configure the build of yaml-cpp4rkt cmake -S . -B build ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DBUILD_SHARED_LIBS=ON ^ -DYAML_BUILD_SHARED_LIBS=ON ^ -DYAML_CPP_BUILD_TESTS=OFF @REM Build and install yam...