doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
8e76580a-cf7c-49ca-8329-e83503fd0cc4 | {
"language": "Batchfile"
} | ```batchfile
```
Update RingLibUI - Add a batch file to build the library DLL file | ```batchfile
cls
call ../../language/src/locatevc.bat
cl /c /DEBUG ring_libui.c -I "..\..\extensions\libdepwin\libui" -I"..\..\language\include"
link /DEBUG ring_libui.obj ..\..\lib\ring.lib ..\..\extensions\libdepwin\libui\libui.lib /DLL /OUT:..\..\bin\ring_libui.dll /SUBSYSTEM:CONSOLE,"5.01"
del ring_libui.obj``` |
360814d7-906f-4e95-836e-3a374443f346 | {
"language": "Batchfile"
} | ```batchfile
@echo off
cls
IF NOT EXIST "build\tools\FAKE.Core\tools\Fake.exe" (
"tools\nuget\nuget.exe" install "NUnit.Runners" -OutputDirectory "build\tools" -ExcludeVersion -Version 2.6.4
"tools\nuget\nuget.exe" install "FAKE.Core" -OutputDirectory "build\tools" -ExcludeVersion -Version 4.60.0
)
"build\tools\F... | ```batchfile
@echo off
cls
IF NOT EXIST "build\tools\FAKE.Core\tools\Fake.exe" (
"tools\nuget\nuget.exe" install "NUnit.Runners" -OutputDirectory "build\tools" -ExcludeVersion -Version 2.6.4
"tools\nuget\nuget.exe" install "FAKE.Core" -OutputDirectory "build\tools" -ExcludeVersion -Version 4.64.13
)
"build\tools\... |
e817ae5d-5564-4983-8931-e4b0161b83f7 | {
"language": "Batchfile"
} | ```batchfile
```
Kill script: termintes openfin and node processes and clears openfin cache | ```batchfile
@echo off
taskkill/F /IM openfin.exe
taskkill /IM node.exe /F
del /q "%localappdata%\OpenFin\cache\*"
FOR /D %%p IN ("%localappdata%\OpenFin\cache\*.*") DO rmdir "%%p" /s /q
del /q "%localappdata%\OpenFin\apps\*"
FOR /D %%p IN ("%localappdata%\OpenFin\apps\*.*") DO rmdir "%%p" /s /q
del /q "%localappda... |
c607c6d6-772c-45a2-88a4-1d83f122f294 | {
"language": "Batchfile"
} | ```batchfile
cd make
node node_make.js debug
node node_make.js release
cd ..
if not exist ..\ArnaudBuchholz.github.io goto end
copy build\gpf.js ..\ArnaudBuchholz.github.io\
copy build\gpf-debug.js ..\ArnaudBuchholz.github.io\
plato -d ..\ArnaudBuchholz.github.io\plato\gpf-js -t GPF-JS -l .jshintrc *.js
:end```
Make n... | ```batchfile
cd make
node node_make.js debug
node node_make.js release
cd ..
if not exist ..\ArnaudBuchholz.github.io goto end
copy build\gpf.js ..\ArnaudBuchholz.github.io\
copy build\gpf-debug.js ..\ArnaudBuchholz.github.io\
plato -x coding_convention.js -d ..\ArnaudBuchholz.github.io\plato\gpf-js -t GPF-JS -l .jshin... |
8aa1140d-e440-4e75-8ca0-3391c32c6589 | {
"language": "Batchfile"
} | ```batchfile
echo Current build setup CC="%CC%" PLATFORM="%PLATFORM%" TARGET="%TARGET%"
if %CC% == VC2019 call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
if %CC% == VC2019p call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\v... | ```batchfile
echo Current build setup CC="%CC%" PLATFORM="%PLATFORM%" TARGET="%TARGET%"
if %CC% == VC2019 call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
if %CC% == VC2019p call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\v... |
ec68f553-5716-497b-8087-7ace15ff63eb | {
"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.7\tools\net47\ReportGenerator.ex... | ```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.11\tools\net47\ReportGenerator.e... |
b1275e16-71b3-4d58-aee9-ae7674130006 | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd "%~dp0"
call build && dotnet test --no-restore --no-build NCrontab.Tests
popd
```
Test debug & release configs | ```batchfile
@echo off
pushd "%~dp0"
call build ^
&& call :test Debug ^
&& call :test Release ^
popd
goto :EOF
:test
dotnet test --no-restore --no-build -c %1 NCrontab.Tests
goto :EOF
``` |
60e5e609-8aa9-41ea-8418-1148077c0772 | {
"language": "Batchfile"
} | ```batchfile
```
Add release tool for windows | ```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 ..
``` |
9625d0cf-7106-4d0a-b735-016b6da4adad | {
"language": "Batchfile"
} | ```batchfile
.nuget\NuGet.exe push src\DelegateDecompiler\bin\Release\*.nupkg -ApiKey %1
```
Update push script to push packages separately | ```batchfile
for /r %%x in (src\DelegateDecompiler\bin\Release\*.nupkg) do .nuget\NuGet.exe push %%x -ApiKey %1
``` |
4f622edc-a4ef-4041-ae7f-c1f55e7b13cf | {
"language": "Batchfile"
} | ```batchfile
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S node_modules') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S Packages') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G... | ```batchfile
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S node_modules') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S Packages') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %%G... |
f9df52ae-d1eb-4bc6-bbe1-e038f581faec | {
"language": "Batchfile"
} | ```batchfile
rem Tool to assemble Windows builds
rem Requirements are 7-zip, py2exe, and FreeExtractor
PATH=C:\python27;C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
rem ****** Clean out the old junk
rmdir /q /s dist\*.*
del /s /q dist\*.*
rem ****** Compile our executable and core zipfile
python ... | ```batchfile
rem Tool to assemble Windows builds
rem Requirements are 7-zip, py2exe, and FreeExtractor
PATH=C:\python27;C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
rem ****** Clean out the old junk
del /s /f /q dist
rem ****** Compile our executable and core zipfile
python setup.py py2exe
rem ... |
41f1a1cf-07ed-40b6-a649-0f34092c3c91 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
PUSHD %~DP0
SET CURDIR=%CD%
PUSHD ..
SET TOPDIR=%CD%
POPD
POPD
SET GDAL_ROOT=%TOPDIR%\bin\gdal
rem 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
... | ```batchfile
@ECHO OFF
PUSHD %~DP0
SET CURDIR=%CD%
PUSHD ..
SET TOPDIR=%CD%
POPD
POPD
SET GDAL_ROOT=%TOPDIR%\bin\gdal
rem 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
... |
eb7034a7-c736-416d-bb7e-09588b5c0d09 | {
"language": "Batchfile"
} | ```batchfile
```
Add release tool for windows | ```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 ..
``` |
8f11e0fa-8a45-4153-9999-042e865e4feb | {
"language": "Batchfile"
} | ```batchfile
```
Add equivalent script for Windows execute/test | ```batchfile
rem CI script
rem Install Bazel using Choco
echo "Installing/updating bazel"
choco install bazel -y
rem Use placeholder secret file
mkdir data\
echo '
{"installed":{"client_id":"PLACEHOLDER.apps.googleusercontent.com","project_id":"PLACEHOLDER","auth_uri":"https://accounts.google.com/o/oauth2/auth","... |
ece0abea-7bf7-4c4c-9529-d04fc714b350 | {
"language": "Batchfile"
} | ```batchfile
set CONDA_PREFIX=%PREFIX%
if errorlevel 1 exit 1
cmake -B build -S "%SRC_DIR%" ^
-G Ninja ^
-DCMAKE_BUILD_TYPE=Release ^
-DPython3_FIND_STRATEGY=LOCATION ^
-DPython3_ROOT_DIR=%CONDA_PREFIX% ^
-DCMAKE_LINKER=lld-link.exe
if errorlevel 1 exit 1
cmake --build build -j %CPU_COUNT% -- -v -k 0... | ```batchfile
set CONDA_PREFIX=%PREFIX%
if errorlevel 1 exit 1
cmake -B build -S "%SRC_DIR%" ^
-G Ninja ^
-DCMAKE_BUILD_TYPE=Release ^
-DPython3_FIND_STRATEGY=LOCATION ^
-DPython3_ROOT_DIR=%CONDA_PREFIX% ^
-DCMAKE_LINKER=lld-link.exe ^
-DCMAKE_MODULE_LINKER_FLAGS="/FORCE:MULTIPLE"
if errorlevel 1 e... |
8e0d3abf-501a-48ee-afe4-e60f55f56450 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
set _projectName=CommandLine
set _solution=%_projectName%.sln
set _codeProject=src\%_projectName%.csproj
set _analyzerProject=analyzer\%_projectName%.Analyzer\%_projectName%.Analyzer.csproj
set _testProject=test\%_projectName%.tests.csproj
set _config=%1
if not defined _config (
set ... | ```batchfile
@echo off
setlocal
set _projectName=CommandLine
set _solution=%_projectName%.sln
set _codeProject=src\%_projectName%.csproj
set _analyzerProject=analyzer\%_projectName%.Analyzer\%_projectName%.Analyzer.csproj
set _testProject=test\%_projectName%.tests.csproj
set _config=%1
if not defined _config (
set ... |
5b3565a3-8fbc-49e7-aa8c-7266d846cfd2 | {
"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
``` |
511f78b1-a8b1-4e40-9170-daf7b221239b | {
"language": "Batchfile"
} | ```batchfile
SET "JAVA_HOME=C:\opt\jdk-8"
cd git-repo
./mvnw clean install -X```
Stop using debug flag for Windows build | ```batchfile
SET "JAVA_HOME=C:\opt\jdk-8"
cd git-repo
./mvnw clean install``` |
c60d7ecf-7cfd-4a9b-b0ef-eaebcd5be8a7 | {
"language": "Batchfile"
} | ```batchfile
@echo on
set config=%1
if "%config%" == "" (
set config=Release
)
set version=1.0.0
if not "%PackageVersion%" == "" (
set version=%PackageVersion%
)
if not "%GitVersion.ClassicVersion%" == "" (
REM override version number with the one provided by git
set version=%GitVersion.ClassicVersion... | ```batchfile
@echo on
set config=%1
if "%config%" == "" (
set config=Release
)
set version=1.0.0
if not "%PackageVersion%" == "" (
set version=%PackageVersion%
)
if not "%GitVersion.ClassicVersion%" == "" (
REM override version number with the one provided by git
set version=%GitVersion.ClassicVersion... |
6ff49526-6c1c-4887-b495-c90ce200b81d | {
"language": "Batchfile"
} | ```batchfile
@echo off
cd %~dp0
SETLOCAL ENABLEEXTENSIONS
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
IF EXIST %CACHED_NUGET% goto copynuget
echo Downloading latest version of NuGet.exe...
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$Pro... | ```batchfile
@echo off
cd %~dp0
SETLOCAL ENABLEEXTENSIONS
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
IF EXIST %CACHED_NUGET% goto copynuget
echo Downloading latest version of NuGet.exe...
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$Pro... |
ff2cf4a9-ddec-4fa6-9f96-a5723bb644a2 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
SETLOCAL
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln
SET BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
IF NOT EXIST %BUILD_TOOLS_PATH% (
echo In order to build or run this tool you need either Visual Studio 2015 Preview o... | ```batchfile
@ECHO OFF
SETLOCAL
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln
SET BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
IF NOT EXIST %BUILD_TOOLS_PATH% (
echo In order to build or run this tool you need either Visual Studio 2015 or
echo... |
936c2502-636e-4efb-b371-9127039fc5c9 | {
"language": "Batchfile"
} | ```batchfile
@echo Off
set config=%1
if "%config%" == "" (
set config=debug
)
.nuget\NuGet.exe restore JabbR.sln -configFile %~dp0\.nuget\NuGet.config -nocache
msbuild %~dp0\Build\Build.proj /p:Configuration="%config%" /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false /p:VisualStudioVersion=11.0```
Remo... | ```batchfile
@echo Off
set config=%1
if "%config%" == "" (
set config=debug
)
.nuget\NuGet.exe restore JabbR.sln -configFile %~dp0\.nuget\NuGet.config -nocache
msbuild %~dp0\Build\Build.proj /p:Configuration="%config%" /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false``` |
e67efb7d-d443-4378-b291-57a90c1c9007 | {
"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 ..
``` |
a9a457a7-0ec6-4bba-8ca8-612c9f70bd38 | {
"language": "Batchfile"
} | ```batchfile
@echo off
NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
NuGet.exe install NUnit.Runners -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
NuGet.exe install Wix.Toolset -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive```
Set nuget version to use a... | ```batchfile
@echo off
NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
NuGet.exe install NUnit.Runners -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive -Version 2.6.4
NuGet.exe install Wix.Toolset -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive``` |
eed68619-696c-4c02-9084-d314bb42f0b7 | {
"language": "Batchfile"
} | ```batchfile
set NPCAP_OEM_FILE=npcap-0.9988-oem.exe
curl --digest --user %NPCAP_USERNAME%:%NPCAP_PASSWORD% https://nmap.org/npcap/oem/dist/%NPCAP_OEM_FILE% --output %NPCAP_OEM_FILE%
%NPCAP_OEM_FILE% /S /winpcap_mode
xcopy C:\Windows\System32\Npcap\*.dll C:\Windows\System32
xcopy C:\Windows\SysWOW64\Npcap\*.dll C:\Wind... | ```batchfile
set NPCAP_OEM_FILE=npcap-0.9988-oem.exe
curl --digest --user %NPCAP_USERNAME%:%NPCAP_PASSWORD% https://nmap.org/npcap/oem/dist/%NPCAP_OEM_FILE% --output %NPCAP_OEM_FILE%
%NPCAP_OEM_FILE% /S /winpcap_mode
appveyor DownloadFile https://nmap.org/npcap/dist/npcap-sdk-1.04.zip
mkdir C:\Npcap-sdk
7z x .\npcap-sd... |
2d34ebe0-1147-4841-b05c-94d8d5d1e23f | {
"language": "Batchfile"
} | ```batchfile
```
Add boot script source for lcd43 system | ```batchfile
setenv bootargs "console=ttyO2,115200n8 mpurate=500 vram=12M omapdss.def_disp=lcd43 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait"
setenv loadaddr 0x82000000
fatload mmc 0 ${loadaddr} uImage
bootm ${loadaddr}
``` |
a35c1337-36e6-4730-b5dd-aff82577778c | {
"language": "Batchfile"
} | ```batchfile
```
Add Windows version of script | ```batchfile
@ECHO OFF
REM
REM Converts the Reach KBs into the format expected by BioNLPProcessor
REM Re-run this script whenever a Reach KB changes
REM To avoid rugenerating *all* KBs edit the ner_kb.config file and keep only the modified KBs
REM
cd ../reach
REM generate the NER KBs here
sbt "runMain org.clulab.pro... |
46175441-baec-460a-b5e4-3a70b9b4b553 | {
"language": "Batchfile"
} | ```batchfile
```
Add script to set folder options | ```batchfile
<!-- :
@setlocal EnableDelayedExpansion EnableExtensions
@for %%i in (%~dp0\_packer_config*.cmd) do @call "%%~i"
@if defined PACKER_DEBUG (@echo on) else (@echo off)
title Setting folder options. Please wait...
echo ==^> Setting folder options
echo ==^> Show file extensions
:: Default is 1 - hide file ex... |
4af76ccd-b5b7-4e92-a6c1-6e0a48cb0ef1 | {
"language": "Batchfile"
} | ```batchfile
setlocal EnableDelayedExpansion
mkdir build
cd build
cmake -G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-DCMAKE_LIBRARY_PATH:PATH="%LIBRARY_PREFIX%;%LIBRARY_PREFIX%/bin" ^
... | ```batchfile
setlocal EnableDelayedExpansion
mkdir build
cd build
cmake -G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-DCMAKE_LIBRARY_PATH:PATH="%LIBRARY_PREFIX%;%LIBRARY_PREFIX%/bin" ^
... |
2e52e034-3911-4287-8477-f7383b698939 | {
"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/da0885fc7a8a2facba79a8b5ca818ed6a730d856
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... | ```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/eddc60f7017a05a02bd9b19b3162ce58a10de81a
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... |
40623e41-b632-4df2-bd54-766ad003aabf | {
"language": "Batchfile"
} | ```batchfile
:: %~dp0 gives the dirname of the script
cmd /c %~dp0firewall-disable.bat
cmd /c %~dp0vagrant-ssh.bat
```
Fix path to install cygwin. | ```batchfile
:: %~dp0 gives the dirname of the script
cmd /c %~dp0firewall-disable.bat
cmd /c %~dp0install-cygwin-sshd.bat
``` |
f7f69aea-9aa0-4acb-8f65-4840a7bac3cc | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
WHERE /Q nuget >NUL
IF %ERRORLEVEL% NEQ 0 (
ECHO nuget not found.
ECHO.
ECHO Run "%~pd0download-nuget.cmd" to download the latest version, or update PATH as appropriate.
GOTO END
)
nuget pack %~dp0WindowsCanvas.nuspec -nopackageanalysis -outputdirectory %~dp0..\..\bin %*
nuget ... | ```batchfile
@ECHO OFF
PUSHD %~dp0
WHERE /Q nuget >NUL
IF %ERRORLEVEL% NEQ 0 (
ECHO nuget not found.
ECHO.
ECHO Run "%~pd0download-nuget.cmd" to download the latest version, or update PATH as appropriate.
GOTO END
)
nuget pack %~dp0WindowsCanvas.nuspec -nopackageanalysis -outputdirectory %~dp0..\..\... |
356a179c-5221-492b-95ef-b989c96811dc | {
"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 ..
``` |
7bd012e5-f38a-4644-b117-cf2c54493a37 | {
"language": "Batchfile"
} | ```batchfile
@setlocal ENABLEDELAYEDEXPANSION
@set jsonlines=0
@for /R %devroot%\%projectname%\bin\%abi%\ %%a IN (lvp_icd.*.json) do @for /f tokens^=^*^ delims^= %%b IN (%%a) do @(
@set /a jsonlines+=1
@IF !jsonlines! NEQ 4 set jsonline[!jsonlines!]=%%b
@IF !jsonlines! EQU 4 set jsonline[!jsonlines!]= "library_p... | ```batchfile
@setlocal ENABLEDELAYEDEXPANSION
@set jsonlines=0
@for /R %devroot%\%projectname%\bin\%abi%\ %%a IN (lvp_icd.*.json) do @for /f tokens^=^*^ delims^= %%b IN (%%a) do @(
@set /a jsonlines+=1
@IF !jsonlines! NEQ 4 set jsonline[!jsonlines!]=%%b
@IF !jsonlines! EQU 4 set jsonline[!jsonlines!]= "library_p... |
edad3d0f-5872-4d3c-b27d-b9bd6ed874f5 | {
"language": "Batchfile"
} | ```batchfile
@echo off
rem To sign the Windows installer, set the `SIGN_WINDOWS_INSTALLER=true` environment variable.
rem This will download the Kolibri Windows installer artifact at the windows-2016 Buildkite agent.
rem After the installer successfully sign it will upload the installer at the Sign Windows Installer... | ```batchfile
@echo off
rem To sign the Windows installer, set the `SIGN_WINDOWS_INSTALLER=true` environment variable.
rem This will download the Kolibri Windows installer artifact at the windows-2016 Buildkite agent.
rem After the installer successfully sign it will upload the installer at the Sign Windows Installer... |
ae58f6ee-6b1c-46c4-838a-d609e97f0b28 | {
"language": "Batchfile"
} | ```batchfile
mkdir build
cd build
REM TODO: can not find tkint.h -> disabling GUI for WIN
cmake .. -G "Ninja" ^
-DCMAKE_BUILD_TYPE="Release" ^
-DINSTALL_DIR_LAYOUT="Unix" ^
-DCMAKE_PREFIX_PATH:FILEPATH="%PREFIX%" ^
-DCMAKE_INSTALL_PREFIX:FILEPATH="%LIBRARY_PREFIX%" ^
-DNG_INSTALL_DIR_INCLUDE:FILE... | ```batchfile
mkdir build
cd build
REM TODO: can not find tkint.h -> disabling GUI for WIN
cmake .. -G "Ninja" ^
-DCMAKE_BUILD_TYPE="Release" ^
-DINSTALL_DIR_LAYOUT="Unix" ^
-DCMAKE_PREFIX_PATH:FILEPATH="%PREFIX%" ^
-DCMAKE_INSTALL_PREFIX:FILEPATH="%LIBRARY_PREFIX%" ^
-DNG_INSTALL_DIR_INCLUDE:FILE... |
6a981060-4c16-4d64-a7a4-b60a050f9943 | {
"language": "Batchfile"
} | ```batchfile
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S org.*') DO RMDIR /S /Q %%G
java -ea -Dosgi.classloader.singleThreadLoads=true -XX:+UseCompressedOops -XX:+CMSClassUnloadingEnabled -XX:+UseParallelGC -Xmx92m -jar plugins\org.eclipse.equinox.launcher.jar %*
```
Remove compressed pointer flag for now. | ```batchfile
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S org.*') DO RMDIR /S /Q %%G
java -ea -Dosgi.classloader.singleThreadLoads=true -XX:+CMSClassUnloadingEnabled -XX:+UseParallelGC -Xmx92m -jar plugins\org.eclipse.equinox.launcher.jar %*
``` |
623c4c87-8477-4e2d-bd40-44b489bab3e2 | {
"language": "Batchfile"
} | ```batchfile
SET "JAVA_HOME=C:\opt\jdk-8"
SET PATH=%PATH%;C:\Program Files\Git\usr\bin
cd git-repo
.\gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 build
```
Use Java 17 for Windows CI build | ```batchfile
SET "JAVA_HOME=C:\opt\jdk-17"
SET PATH=%PATH%;C:\Program Files\Git\usr\bin
cd git-repo
.\gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 build
``` |
4394143e-8373-457c-998b-9c8d92a7ddd4 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
IF %1.==. GOTO No1
set CONFIG=%1
REM set debug parameters
REM set DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y"
@powershell -Command "java -cp '..\lib\*' %DEBUG_OPTS% \"-Daerobase.config.dir=%CONFIG%\" org.jboss.aerogear.unifiedpush.DBMaintenance"
GOTO End1... | ```batchfile
@ECHO OFF
IF %1.==. GOTO No1
set CONFIG=%1
REM set debug parameters
REM set DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y"
java -cp ..\lib\* %DEBUG_OPTS% "-Daerobase.config.dir=%CONFIG%" org.jboss.aerogear.unifiedpush.DBMaintenance > initdb-java.log 2>&1
GOTO End1
:N... |
09430dec-1676-4939-bde5-9a33abebf05b | {
"language": "Batchfile"
} | ```batchfile
cd C:\Users\chrome-bot
call gclient config https://skia.googlesource.com/buildbot.git
call gclient sync --force
cd buildbot
python scripts\launch_slaves.py```
Add -j1 to windows launch script | ```batchfile
cd C:\Users\chrome-bot
call gclient config https://skia.googlesource.com/buildbot.git
call gclient sync --force -j1
cd buildbot
python scripts\launch_slaves.py``` |
da33e2e6-a02b-4d0c-affd-1d95d2285f2a | {
"language": "Batchfile"
} | ```batchfile
:: Author: Lisandro Dalcin
:: Contact: dalcinl@gmail.com
:: Credits: Olivier Grisel and Kyle Kastner
@ECHO OFF
SET COMMAND_TO_RUN=%*
SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
IF "%PYTHON_VERSION:~0,1%" == "2" SET WIN_SDK_VERSION="v7.0"
IF "%PYTHON_VERSION:~0,1%" == "3" SET WIN_SDK_VERSION... | ```batchfile
:: Author: Lisandro Dalcin
:: Contact: dalcinl@gmail.com
:: Credits: Olivier Grisel and Kyle Kastner
@ECHO OFF
SET COMMAND_TO_RUN=%*
SET PYTHON_VERSION_MAJOR=%PYTHON_VERSION:~0,1%
SET PYTHON_VERSION_MINOR=%PYTHON_VERSION:~2,1%
SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
IF %PYTHON_VERSION_... |
d1a178d6-ef7f-4178-8725-2071fe17892c | {
"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
doskey oq=python.exe -m openquake.commands.__main__ $*
doskey oq-engine=python.exe -m openquake.commands.__main__ engine $*
echo OpenQuake environment l... | ```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... |
bf280d70-c1d7-42b4-af37-d018fc80af05 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
call NightlyBuild.cmd
set PackageDir=%~dp0LocalPackages
call dnu restore dnx\src\Microsoft.DotNet.xunit.performance.runner.dnx\project.json -f %PackageDir%
call dnu pack dnx\src\Microsoft.DotNet.xunit.performance.runner.dnx\project.json --out %PackageDir% --configuration Release
```
Fix... | ```batchfile
@echo off
setlocal
call NightlyBuild.cmd
set PackageDir=%~dp0LocalPackages
pushd %~dp0dnx\src\Microsoft.DotNet.xunit.performance.runner.dnx
call dnu restore
call dnu pack --out %PackageDir% --configuration Release
popd``` |
7efdfff1-fcb7-44c0-b7ed-5338d0d7ba89 | {
"language": "Batchfile"
} | ```batchfile
@echo off
cmake -G "Visual Studio 14 2015 Win64" %"Set the generator to Visual Studio 2015 x64"% ^
-T "v140_clang_3_7" %"Set the compiler toolchain to Clang/C2"% ^
-H%~dp0\.. %"Set the source directory to the parent directory"% ^
-B%~dp0\..\_build_cl... | ```batchfile
@echo off
cmake -G "Visual Studio 14 2015 Win64" %"Set the generator to Visual Studio 2015 x64"% ^
-T "v140_clang_c2" %"Set the compiler toolchain to Clang/C2"% ^
-H%~dp0\.. %"Set the source directory to the parent directory"% ^
-B%~dp0\..\_build_cl... |
81a7cbad-84af-4e27-8320-c5b3657ce103 | {
"language": "Batchfile"
} | ```batchfile
rem @if "%_echo%"=="" echo off
setlocal
call %~d0%~p0\..\..\..\config.bat
if EXIST magic.dll del magic.dll
if errorlevel 1 goto :Error
"%FSC%" --out:magic.dll -a magic.fs --keyfile:magic.snk
if errorlevel 1 goto :Error
REM == If we are running this test on a lab machine, we may not be running from an ... | ```batchfile
rem @if "%_echo%"=="" echo off
setlocal
call %~d0%~p0\..\..\..\config.bat
if EXIST magic.dll del magic.dll
if errorlevel 1 goto :Error
"%FSC%" --out:magic.dll -a magic.fs --keyfile:magic.snk
if errorlevel 1 goto :Error
REM == If we are running this test on a lab machine, we may not be running from an ... |
29a498bb-51ac-4c48-88b9-796ee5c50b97 | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd %~dp0
if not exist ..\..\nuget.exe (
powershell -Command "Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile ..\..\nuget.exe"
)
if not defined NUGET_VERSION (
echo NUGET_VERSION not defined, aborting...
popd
exit /b 1
)
if not defined AP... | ```batchfile
@echo off
pushd %~dp0
del *.nupkg
if not exist ..\..\nuget.exe (
powershell -Command "Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile ..\..\nuget.exe"
)
if not defined NUGET_VERSION (
echo NUGET_VERSION not defined, aborting...
popd
exit /b 1
)
if no... |
00ba9ee2-0739-4348-ab1a-b57c5bba503a | {
"language": "Batchfile"
} | ```batchfile
@echo off
echo Press any key to publish
pause
".nuget\NuGet.exe" push Rssdp.1.0.0.7.nupkg
pause```
Update nuget publish cmd file for latest version. | ```batchfile
@echo off
echo Press any key to publish
pause
".nuget\NuGet.exe" push Rssdp.1.0.0.9.nupkg
pause``` |
526e351c-1168-43d3-aedc-dd6eda10bad1 | {
"language": "Batchfile"
} | ```batchfile
rem Alter this if you need to install multiple instances.
@echo off
set SERVICENAME="Cuberite"
set CURRENTDIR=%CD%
sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= %SERVICENAME%
sc description %SERVICENAME% "Minecraft server instance"
```
Use string redirect... | ```batchfile
rem Alter this if you need to install multiple instances.
@echo off
set SERVICENAME="Cuberite"
set CURRENTDIR=%CD%
sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= "@%CURRENTDIR%\Cuberite.exe,-1"
sc description %SERVICENAME% "@%CURRENTDIR%\Cuberite.exe,-2"
``... |
85297d89-8ec8-4f37-b2fa-a83d235d1649 | {
"language": "Batchfile"
} | ```batchfile
DEL c:\Users\Administrator\go\src\github.com\pivotal-cf-experimental\GATS\cf.exe
bitsadmin.exe /transfer "DownloadStableCLI" https://s3.amazonaws.com/go-cli/builds/cf-windows-amd64.exe c:\Users\Administrator\go\src\github.com\pivotal-cf-experimental\GATS\cf.exe
go get -u github.com/pivotal-cf-experimental... | ```batchfile
DEL c:\Users\Administrator\go\src\github.com\pivotal-cf-experimental\GATS\cf.exe
bitsadmin.exe /transfer "DownloadStableCLI" https://s3.amazonaws.com/go-cli/builds/cf-windows-amd64.exe c:\Users\Administrator\go\src\github.com\pivotal-cf-experimental\GATS\cf.exe
go get -u github.com/pivotal-cf-experimental... |
66d4d92e-1c6c-4ae5-8b45-f547241471f1 | {
"language": "Batchfile"
} | ```batchfile
@echo off
net session >nul 2>&1
if %errorLevel% NEQ 0 (
echo Please run this script with Administrator privileges
timeout 10 > NUL
EXIT /B 1
)
SET cdpath=%~dp0
echo Setting the system environment variable DOCKER_HOST
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v... | ```batchfile
@echo off
net session >nul 2>&1
if %errorLevel% NEQ 0 (
echo Please run this script with Administrator privileges
timeout 10 > NUL
EXIT /B 1
)
SET cdpath=%~dp0
if not exist c:\ProgramData\docker\ (
echo Error: Could not find Docker in c:\ProgramData\docker\.
echo Please install Docker b... |
65bbb0b6-fa46-453e-ac7f-18bf97b3b905 | {
"language": "Batchfile"
} | ```batchfile
:: Establish an environment for Mindbender applications
@echo off
set PYBLISH_BASE=%~dp0git\pyblish-base
set PYBLISH_MAYA=%~dp0git\pyblish-maya
set PYBLISH_NUKE=%~dp0git\pyblish-nuke
set PYBLISH_QML=%~dp0git\pyblish-qml
set PYBLISH_LITE=%~dp0git\pyblish-lite
set MINDBENDER_CORE=%~dp0git\mindbender-core
s... | ```batchfile
:: Establish an environment for Mindbender applications
@echo off
set PYBLISH_BASE=%~dp0git\pyblish-base
set PYBLISH_MAYA=%~dp0git\pyblish-maya
set PYBLISH_NUKE=%~dp0git\pyblish-nuke
set PYBLISH_QML=%~dp0git\pyblish-qml
set PYBLISH_LITE=%~dp0git\pyblish-lite
set MINDBENDER_CORE=%~dp0git\mindbender-core
s... |
c64ec50c-3d4e-4c20-84a0-937e588e8db7 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
set target=amd64
set MSVC=%USERPROFILE%\cmsc\msvc\bin\%target%
set libs=/LIBPATH:"%MSVC%\..\..\lib\%target%"
set include=/I"%MSVC%\..\..\include\crt"
set src=%CD%
set output=/OUT:zs.exe
set C_FLAGS=/Wall /GL /O1 /Os /Oi /Ob1 /GS- /TC
set files=%src%\main.c %src%\errors.c %src%\flash_io.c %src%\... | ```batchfile
@ECHO OFF
set target=amd64
set MSVC=%USERPROFILE%\cmsc\msvc\bin\%target%
set libs=/LIBPATH:"%MSVC%\..\..\lib\%target%"
set include=/I"%MSVC%\..\..\include\crt"
set src=%CD%
set output=/OUT:zs.exe
REM set C_FLAGS=/Wall /GL /O1 /Os /Oi /Ob1 /GS- /TP
set C_FLAGS=/Wall /GL /O1 /Os /Oi /Ob1 /GS- /TC
set file... |
97e6ba3e-e0a5-47e8-bbd8-08842603e31a | {
"language": "Batchfile"
} | ```batchfile
echo on
echo Postsubmit.bat started.
if exist %VCVARSALL_SCRIPT% (
echo Running VCVARSALL script: %VCVARSALL_SCRIPT%
CALL %VCVARSALL_SCRIPT% amd64 || exit /b %errorlevel%
)
echo Creating build directory.
mkdir C:\Fruit\build-%CONFIGURATION%
cd C:\Fruit\build-%CONFIGURATION%
echo Running CMake.
%... | ```batchfile
echo on
echo Postsubmit.bat started.
if exist %VCVARSALL_SCRIPT% (
echo Running VCVARSALL script: %VCVARSALL_SCRIPT%
CALL %VCVARSALL_SCRIPT% amd64 || exit /b %errorlevel%
)
echo Creating build directory.
mkdir C:\Fruit\build-%CONFIGURATION%
cd C:\Fruit\build-%CONFIGURATION%
rem TODO: Remove the f... |
7204e022-0fd4-4bbf-97e3-e1dee84ffd6d | {
"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/3bf82c59679bd6539651cf5751246f34e6fd6a56
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... | ```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/89ed632cfb0154130af7cc555d4644ad33122ab9
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... |
52ed7477-df4b-471c-abd1-bd4bf44a9790 | {
"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.
```
Change install command in windows script | ```batchfile
"%PYTHON%" setup.py install --offline --no-git --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 proce... |
bd9d631e-90ae-4332-9846-1ad7cd54b791 | {
"language": "Batchfile"
} | ```batchfile
echo off
set BuildMode=Debug
if not {%1} == {} (
set BuildMode=%1
)
set OriginalPath=%cd%
set TestPath=%~dp0..\test
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %TestPath%\DMLibTest\DMLibTest.csproj /t:Rebuild /p:Configuration=%BuildMode% >NUL
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %TestPa... | ```batchfile
set BuildMode=Debug
if not {%1} == {} (
set BuildMode=%1
)
set OriginalPath=%cd%
set TestPath=%~dp0..\test
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %TestPath%\DMLibTest\DMLibTest.csproj /t:Rebuild /p:Configuration=%BuildMode% >NUL
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" %TestPath%\DMLib... |
3066f4e0-08ab-49ae-b2ef-a73615702d5a | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd %1
set attempts=5
set counter=0
:retry
set /a counter+=1
echo Attempt %counter% out of %attempts%
if exist %1\node_modules\azure-cli\bin\azure (
cmd /c npm update https://github.com/amitapl/azure-sdk-tools-xplat/tarball/latest
) else (
cmd /c npm install https://github.com/amitapl/a... | ```batchfile
@echo off
pushd %1
set attempts=5
set counter=0
:retry
set /a counter+=1
echo Attempt %counter% out of %attempts%
if exist %1\node_modules\azure-cli\bin\azure (
cmd /c npm update https://github.com/amitapl/azure-sdk-tools-xplat/tarball/latest
) else (
cmd /c npm install https://github.com/amitapl/a... |
b7b34902-98fb-4006-82dc-7c3a761b06c4 | {
"language": "Batchfile"
} | ```batchfile
@echo off
rem This will download the Kolibri windows installer artifact at the windows-2016 buildkite agent.
rem After the installer successfully sign it will upload the signed installer at the Sign Windows installer pipeline artifact.
rem To sign the Windows installer set the `SIGN_WINDOWS_INSTALLER=tr... | ```batchfile
@echo off
rem To sign the Windows installer, set the `SIGN_WINDOWS_INSTALLER=true` environment variable.
rem This will download the Kolibri Windows installer artifact at the windows-2016 Buildkite agent.
rem After the installer successfully sign it will upload the installer at the Sign Windows Installer... |
f05852b1-10fe-47ae-821e-504c8293e5c8 | {
"language": "Batchfile"
} | ```batchfile
SET GOPATH=%CD%\gopath
SET PATH=C:\Go\bin;C:\Program Files\Git\cmd\;%GOPATH%\bin;%PATH%
cd %GOPATH%\src\code.cloudfoundry.org\cli
powershell -command set-executionpolicy remotesigned
go version
go get -u github.com/onsi/ginkgo/ginkgo
ginkgo version
ginkgo -r -race -randomizeAllSpecs -randomizeSuites ... | ```batchfile
SET GOPATH=%CD%\gopath
SET PATH=C:\Go\bin;C:\Program Files\Git\cmd\;%GOPATH%\bin;%PATH%
cd %GOPATH%\src\code.cloudfoundry.org\cli
powershell -command set-executionpolicy remotesigned
go version
go get -u github.com/onsi/ginkgo/ginkgo
ginkgo version
ginkgo -r -randomizeAllSpecs -randomizeSuites -skipP... |
8d7ed24f-a6f7-42a3-9e0f-059d70ec377d | {
"language": "Batchfile"
} | ```batchfile
if not exist "C:\Windows\Temp\msys2.exe" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe', 'C:\Windows\Temp\msys2.exe')" <NUL
)
start /wait C:\Windows\Temp\msys2.exe --script A:\msys2-install.qs
start /wait C:\msys64\usr... | ```batchfile
if not exist "C:\Windows\Temp\msys2.exe" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe', 'C:\Windows\Temp\msys2.exe')" <NUL
)
start /wait C:\Windows\Temp\msys2.exe --script A:\msys2-install.qs
start /wait C:\msys64\usr... |
c20fbfcf-7c26-431c-a3b2-27125c3b40ee | {
"language": "Batchfile"
} | ```batchfile
REM Installing Chocolatey
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
REM Installing virtualbox
choco install virtualbox -y
REM Killing the default... | ```batchfile
REM Installing Chocolatey
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
REM Installing virtualbox
choco upgrade virtualbox -y
REM Killing the default... |
73e8220b-6e11-43da-a3a5-6b44725e95b0 | {
"language": "Batchfile"
} | ```batchfile
universe = vanilla
executable = ./x_job_filexfer_testjob.pl
log = job_filexfer_output-withvacate_van.log
output = job_filexfer_output-withvacate_van.out
error = job_filexfer_output-withvacate_van.err
should_transfer_files = YES
when_to_transfer_output = ON_EXIT_OR_EVICT
transfer_output_files = submit_fil... | ```batchfile
universe = vanilla
executable = ./x_job_filexfer_testjob.pl
log = job_filexfer_output-withvacate_van.log
output = job_filexfer_output-withvacate_van.out
error = job_filexfer_output-withvacate_van.err
should_transfer_files = YES
when_to_transfer_output = ON_EXIT_OR_EVICT
transfer_output_files = submit_fil... |
615d335c-78b2-4265-aada-600350870252 | {
"language": "Batchfile"
} | ```batchfile
@call set_vars.bat
copy %QTPATH%\Qt5Charts.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Core.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Gui.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Network.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Widgets.dll %ROOTPATH%\release\
copy %MINGW%\bin\libgcc_s_dw2-1.dll %ROOTPATH%\rele... | ```batchfile
@call set_vars.bat
copy %QTPATH%\Qt5Charts.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Core.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Gui.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Network.dll %ROOTPATH%\release\
copy %QTPATH%\Qt5Widgets.dll %ROOTPATH%\release\
copy %QTPATH%\libgcc_s_dw2-1.dll %ROOTPATH%\release... |
2b84cc29-0b7b-48eb-ae33-92367f509fdc | {
"language": "Batchfile"
} | ```batchfile
@echo off
if exist "C:\Work\D\Vvmn\*" goto deleteDir
echo No existing build directory
goto updateScripts
:deleteDir
echo Delete directory
pushd "C:\Work\D\Vvmn"
for /d %%d in (*.*) do rmdir /s /q "%%d"
del /q *.*
popd
:updateScripts
cd C:\Work\VesselView\Dashboards\VesselView
"C:\Program Files (x86)\Git... | ```batchfile
@echo off
if exist "C:\Work\D\Vvmn\*" goto deleteDir
echo No existing build directory
goto updateScripts
:deleteDir
echo Delete directory
pushd "C:\Work\D\Vvmn"
for /d %%d in (*.*) do rmdir /s /q "%%d"
del /q *.*
popd
:updateScripts
cd C:\Work\VesselView\Dashboards\VesselView
"C:\Program Files (x86)\Git... |
3463ca13-05bb-4710-92fa-5291d97bf66e | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM Test default configuration against examples on windows.
REM WORKSPACE is always set inside our testing environment. If this is run
REM outside that environment, the caller is responsible for setting it.
IF "%WORKSPACE%"=="" GOTO ErrExit
REM NOTE: This is pretty messy, but it is the only way... | ```batchfile
@ECHO OFF
REM Test default configuration against examples on windows.
REM WORKSPACE is always set inside our testing environment. If this is run
REM outside that environment, the caller is responsible for setting it.
IF "%WORKSPACE%"=="" GOTO ErrExit
REM NOTE: This is pretty messy, but it is the only way... |
c862d685-67bc-4364-8db1-ae652cff4eb0 | {
"language": "Batchfile"
} | ```batchfile
:: Forward the ./doom script to Emacs
@ECHO OFF
PUSHD "%~dp0" >NUL
IF "%1"=="run" (
SHIFT
emacs -Q %* -l ..\init.el -f "doom|run-all-startup-hooks"
) ELSE (
emacs --quick --script .\doom -- %*
)
POPD >NUL
ECHO ON```
Tweak the command used for the "run" argument | ```batchfile
:: Forward the ./doom script to Emacs
@ECHO OFF
PUSHD "%~dp0" >NUL
IF "%1"=="run" (
SHIFT
start runemacs -Q %* -l ..\init.el -f "doom|run-all-startup-hooks"
) ELSE (
emacs --quick --script .\doom -- %*
)
POPD >NUL
ECHO ON
``` |
6c16cd26-d8a1-494f-87b2-f98e1bae1ab9 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
ECHO Running regression tests
START /Wait Dolphin7 DPRO.img7 -f RegressionTestsRun.st -q
IF %ERRORLEVEL% NEQ 0 (
TYPE DPRO.testlog
ECHO Tests failed=%ERRORLEVEL%
EXIT -1
)
TYPE DPRO.testlog
ECHO Finished regression tests
```
Use contents of .lestlog file to determine success or failure ... | ```batchfile
@ECHO OFF
ECHO Running regression tests
START /Wait Dolphin7 DPRO.img7 -f RegressionTestsRun.st -q
FINDSTR /L /C:" 0 errors" DPRO.testlog
IF %ERRORLEVEL% NEQ 0 (
TYPE DPRO.testlog
ECHO Tests failed
EXIT -1
)
ECHO Finished regression tests``` |
8d48c2d0-7cbc-4f01-a39e-ee559a0c0b61 | {
"language": "Batchfile"
} | ```batchfile
```
Add a batch file to build all of the nuget packages, including the DNX stuff. This isn't part of NightlyBuild.cmd yet, because it requires some special machine setup for the DNX part. | ```batchfile
@echo off
setlocal
call NightlyBuild.cmd
set PackageDir=%~dp0LocalPackages
call dnu restore dnx\src\Microsoft.DotNet.xunit.performance.runner.dnx\project.json -f %PackageDir%
call dnu pack dnx\src\Microsoft.DotNet.xunit.performance.runner.dnx\project.json --out %PackageDir% --configuration Release
``` |
dd19308d-0973-4adf-8ca4-0b2fd0c83b39 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
for %%i in (NuGet.exe) do set nuget_path=%%~dpnx$PATH:i
if "%nuget_path%"=="" goto :nonuget
set packages_path=%~dp0packages
if exist "%packages_path%\repositories.config" (
for /f "usebackq delims=" %%p in (`PowerShell -C "Get-Content '%packages_path%\repositories.config' | Sel... | ```batchfile
@echo off
setlocal
for %%i in (NuGet.exe) do set nuget_path=%%~dpnx$PATH:i
if "%nuget_path%"=="" goto :nonuget
set packages_path=%~dp0packages
if exist "%packages_path%\repositories.config" (
for /f "usebackq delims=" %%p in (`PowerShell -C "[xml](Get-Content '%packages_path%\repositories.config'... |
df968023-dbea-473e-874d-2a334bd5566c | {
"language": "Batchfile"
} | ```batchfile
@echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set REDPEN_HOME=%%~dpfI
set REDPEN_CLASSPATH=%REDPEN_HOME%/conf;%REDPEN_HOME%/lib/*
set JAVA_OPTS=%JAVA_OPTS%
"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%REDPEN_CLASSPATH%" cc.r... | ```batchfile
@echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set REDPEN_HOME=%%~dpfI
set REDPEN_CLASSPATH=%REDPEN_HOME%/conf;%REDPEN_HOME%/lib/*
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%R... |
1235208b-f860-4aa0-beb4-ed7667a8f7a9 | {
"language": "Batchfile"
} | ```batchfile
@echo off
rem check that JAVA_HOME and LCF_HOME are set
if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome
if not exist "%LCF_HOME%\properties.ini" goto nolcfhome
rem save existing path here
set OLDDIR=%CD%
cd "%LCF_HOME%\processes"
set CLASSPATH=.
for %%f in (jar/*) do call script\setclasspath.bat %%... | ```batchfile
@echo off
rem check that JAVA_HOME and LCF_HOME are set
if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome
if not exist "%LCF_HOME%\properties.ini" goto nolcfhome
rem save existing path here
set OLDDIR=%CD%
cd "%LCF_HOME%\processes"
set CLASSPATH=.
for %%f in (jar/*) do call script\setclasspath.bat %%... |
9cbcb02c-f141-46a2-943c-f996e53ed4ff | {
"language": "Batchfile"
} | ```batchfile
```
Change directory - useful with ConEmu and MinGW | ```batchfile
function cdt()
{
case "$1" in
"-h") showcdtusage;;
"") cdtbranches unstable;;
"unstable") cdtbranches $1;;
"10.3") cdtbranches $1;;
"10.2") cdtbranches $1;;
"10.1") cdtbranches $1;;
"conv") cd /c/src/conversion;;
"home") cd /c/users/chirag.shukla;;
"d") cd /d;;
... |
cf89cdfc-e953-4cab-83f4-971471ccd4d7 | {
"language": "Batchfile"
} | ```batchfile
@echo off
REM docs\build_autodoc_files.py
sphinx-build -b html doc_src pywinauto\docs
REM c:\.temp\pudge\pudge\cli --documents doc_source\index.rst,doc_source\controls_overview.rst,doc_source\howto.rst,doc_source\getting_started.rst,history.txt,license.txt,todo.txt --title pywinauto -v -d websi... | ```batchfile
@echo off
doc_src\build_autodoc_files.py
sphinx-build -b html doc_src pywinauto\docs
REM c:\.temp\pudge\pudge\cli --documents doc_source\index.rst,doc_source\controls_overview.rst,doc_source\howto.rst,doc_source\getting_started.rst,history.txt,license.txt,todo.txt --title pywinauto -v -d websit... |
0d35efeb-029a-44ec-982e-cbf7e695e51a | {
"language": "Batchfile"
} | ```batchfile
```
Add template of bat script | ```batchfile
@echo off
@rem ------------------------------------
@rem @file xxx.bat
@rem @brief yyy
@rem @author zzz@aaa
@rem @date yyyy/mm/dd
@rem @par Copyright
@rem 2016-20XX YYYY All rights reserved.
@rem Released under the MIT license
@rem http://opensource.org/licenses/mit-license... |
57a386c9-c8b4-4d54-9dde-8a97c30ad99b | {
"language": "Batchfile"
} | ```batchfile
set FFMPEG_FN=ffmpeg-%PKG_VERSION%-win%ARCH%
curl -L -O "https://ffmpeg.zeranoe.com/builds/win%ARCH%/dev/%FFMPEG_FN%-dev.7z"
7za x %SRC_DIR%\%FFMPEG_FN%-shared.7z -o%SRC_DIR%
7za x %FFMPEG_FN%-dev.7z -o%SRC_DIR%
copy %SRC_DIR%\%FFMPEG_FN%-shared\bin %LIBRARY_BIN%
copy %SRC_DIR%\%FFMPEG_FN%-dev\include %... | ```batchfile
set FFMPEG_FN=ffmpeg-%PKG_VERSION%-win%ARCH%
curl -L -O "https://ffmpeg.zeranoe.com/builds/win%ARCH%/dev/%FFMPEG_FN%-dev.7z"
7za x %SRC_DIR%\%FFMPEG_FN%-shared.7z -o%SRC_DIR%
7za x %FFMPEG_FN%-dev.7z -o%SRC_DIR%
robocopy %SRC_DIR%\%FFMPEG_FN%-shared\bin\ %LIBRARY_BIN%\ *.* /E
if %ERRORLEVEL% GEQ 8 exit ... |
a18c9df9-848f-4544-b878-086066030275 | {
"language": "Batchfile"
} | ```batchfile
@echo off
REM
REM Batch script to build and test on Windows. You can use this in conjunction
REM with the Vagrant machine.
REM
echo Building
go build
if %errorlevel% neq 0 exit /b %errorlevel%
echo Testing
go test ./...
if %errorlevel% neq 0 exit /b %errorlevel%
echo System Testing
go t... | ```batchfile
@echo off
REM
REM Batch script to build and test on Windows. You can use this in conjunction
REM with the Vagrant machine.
REM
echo Building
go build
if %errorlevel% neq 0 exit /b %errorlevel%
echo Testing
go test ./...
if %errorlevel% neq 0 exit /b %errorlevel%
echo System Testing
go test -c -covermod... |
863a12a6-ea31-4246-812c-9b8ab5509dc2 | {
"language": "Batchfile"
} | ```batchfile
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db -p 5432 -f ..\action_enter_edit_folders.sql 1> test_action_enter_edit_folders.log 2>&1
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db -p 5432 -f test_a... | ```batchfile
REM install db
call C:\funda_components\reports_manager\report_manager_database\reports_manager_test_db\install_reports_manager_test_db.bat
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db -p 5432 -f ..\action_enter_edit_folders.sql 1> test_action_enter_e... |
4818ceda-b70c-461b-8443-51b4f3db5daf | {
"language": "Batchfile"
} | ```batchfile
@echo off
traceview.exe -start UsbDk -rt -flag 0xFF -level 6 -ft 1 -pdb UsbDk.pdb -guid UsbDk.ctl
mkdir WPP
start traceview.exe -process -rt UsbDk -display -ods -o WPP\\UsbDk.txt -pdb UsbDk.pdb -guid UsbDk.ctl
start dbgview.exe
pause
traceview.exe -stop UsbDk
```
Enable all trace flags by default | ```batchfile
@echo off
traceview.exe -start UsbDk -rt -flag 0x7FFFFFFF -level 6 -ft 1 -pdb UsbDk.pdb -guid UsbDk.ctl
mkdir WPP
start traceview.exe -process -rt UsbDk -display -ods -o WPP\\UsbDk.txt -pdb UsbDk.pdb -guid UsbDk.ctl
start dbgview.exe
pause
traceview.exe -stop UsbDk
``` |
bcc16e77-7886-4121-8567-0546852ed29b | {
"language": "Batchfile"
} | ```batchfile
mkdir -p build-cmake
cd build-cmake
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% -DCMAKE_BUILD_TYPE=Release ..
if errorlevel 1 exit 1
nmake
if errorlevel 1 exit 1
nmake install
if errorlevel 1 exit 1
MOVE %LIBRARY_LIB%\ann.dll %LIBRARY_BIN%
```
Add flag specifying that random/srandom... | ```batchfile
mkdir -p build-cmake
cd build-cmake
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% -DCMAKE_BUILD_TYPE=Release -DANN_NO_RANDOM ..
if errorlevel 1 exit 1
nmake
if errorlevel 1 exit 1
nmake install
if errorlevel 1 exit 1
MOVE %LIBRARY_LIB%\ann.dll %LIBRARY_BIN%
``` |
66edde43-d41e-4c30-b3bb-a67b2d13a328 | {
"language": "Batchfile"
} | ```batchfile
@echo off
set DIST_DIR=dist
set CERTIFICATE_PATH=%HOMEPATH%\certificates\nuxeo.com.pfx
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /f %CERTIFICATE_PATH% /d %MSI_PROGRAM_NAME% /t %TIMESTAMP_URL%
set VERIFY_CMD=signto... | ```batchfile
@echo off
set DIST_DIR=dist
set CERTIFICATE_PATH=%USERPROFILE%\certificates\nuxeo.com.pfx
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /f %CERTIFICATE_PATH% /d %MSI_PROGRAM_NAME% /t %TIMESTAMP_URL%
set VERIFY_CMD=sig... |
616cc668-5117-472b-9397-01e020c61713 | {
"language": "Batchfile"
} | ```batchfile
@rem Makes a build of the viewer
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including gtkmm & the Visual Studio 9 runtime
@echo off
rmdir build /S /Q
md build
xcopy bin\*.* build /S /C
del build\data\configuration\*.xml
rmdir build\... | ```batchfile
@rem Makes a build of the viewer
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including gtkmm & the Visual Studio 9 runtime
@echo off
rmdir build /S /Q
md build
xcopy bin\*.* build /S /C
del build\data\configuration\*.xml
rmdir build\... |
665e1872-3e99-4de6-9b05-02f5c490f5db | {
"language": "Batchfile"
} | ```batchfile
@echo Copying debug information...
@IF %toolchain%==msvc ROBOCOPY "%devroot%\mesa\build\%toolchain%-%abi%" "%devroot%\%projectname%\debugsymbols\%abi%" *.pdb /E
@IF NOT %toolchain%==msvc IF EXIST "%msysloc%\%LMSYSTEM%\bin\strip.exe" IF EXIST "%msysloc%\%LMSYSTEM%\bin\objcopy.exe" for /f delims^=^ eol^= %%a... | ```batchfile
@IF %toolchain%==msvc ROBOCOPY "%devroot%\mesa\build\%toolchain%-%abi%" "%devroot%\%projectname%\debugsymbols\%abi%" *.pdb /E
@IF NOT %toolchain%==msvc IF EXIST "%msysloc%\%LMSYSTEM%\bin\strip.exe" IF EXIST "%msysloc%\%LMSYSTEM%\bin\objcopy.exe" for /f delims^=^ eol^= %%a in ('dir /b "%devroot%\%projectnam... |
cc7ebc37-fd6e-4b33-9b85-9df467701203 | {
"language": "Batchfile"
} | ```batchfile
mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %*
```
Add missing `sonar:sonar` for windows script | ```batchfile
mvn clean jacoco:prepare-agent verify jacoco:report sonar:sonar -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %*
``` |
2f0c1522-90f2-4c32-9103-b1dc607d4af3 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
set _test_root=%DLR_ROOT%\Test
set _runner=%_test_root%\TestRunner\TestRunner\bin\Debug\TestRunner.exe
call :build_runner
"%_runner%" "%_test_root%\IronPython.tests" /verbose /threads:1 /binpath:"%DLR_BIN%" /nunitoutput:"%_test_root%\TestResult.xml" %*
endlocal
goto:eof
:build_runn... | ```batchfile
@echo off
setlocal
if "%DLR_BIN%"=="" (
echo "You must set DLR_BIN before running this command"
exit /b -1
)
if "%DLR_ROOT%"=="" (
echo "You must set DLR_ROOT before running this command"
exit /b -1
)
set _test_root=%DLR_ROOT%\Test
set _config=%CONFIGURATION%
if "%_config%"=="" (
set _config=... |
d0b0360a-bbef-42cf-9076-0ba267c7445a | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
:: 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.
:: Check prerequisites
set _msbuildexe="%Progra... | ```batchfile
@echo off
setlocal
:: 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.
:: Check prerequisites
set _msbuildexe="%Progra... |
e3a6d0b7-eae8-4634-8d39-174620b33865 | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd %~dp0
setlocal
if exist bin goto build
mkdir bin
:Build
set MSBuild="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MsBuild.exe"
if not exist %MSBuild% @set MSBuild="%ProgramFiles%\MSBuild\12.0\Bin\MsBuild.exe"
if not exist %MSBuild% @set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSB... | ```batchfile
@echo off
pushd %~dp0
setlocal
if exist bin goto build
mkdir bin
:Build
REM Find the most recent 32bit MSBuild.exe on the system. If v12.0 (installed with VS2013) does not exist, fall back to
REM v4.0. Also handle x86 operating systems, where %ProgramFiles(x86)% is not defined. Always quote the %MSBuild... |
c5621142-e840-4f65-9481-044d5d6cc43d | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i
if "%nuget%"=="" (
echo WARNING! NuGet executable not found in PATH so build may fail!
echo For more on NuGet, see https://github.com/nuget/home
)
pushd "%~dp0"
nuget restore && call :build Debug && call :build Release
popd
goto ... | ```batchfile
@echo off
setlocal
for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i
if "%nuget%"=="" (
echo WARNING! NuGet executable not found in PATH so build may fail!
echo For more on NuGet, see https://github.com/nuget/home
)
pushd "%~dp0"
nuget restore && call :build Debug %* && call :build Release %*
popd... |
d5f529f7-18a1-418e-9882-1b8d05a304b7 | {
"language": "Batchfile"
} | ```batchfile
@if "%_echo%" neq "on" echo off
:: To run tests outside of MSBuild.exe
:: %1 is the path to the tests\<OSConfig> folder
:: %2 is the path to the packages folder
pushd %1
FOR /D %%F IN (*.Tests) DO (
IF EXIST %%F\netcoreapp1.0 (
pushd %%F\netcoreapp1.0
CALL RunTests.cmd %2
popd
)
)
popd
```
Che... | ```batchfile
@if "%_echo%" neq "on" echo off
:: To run tests outside of MSBuild.exe
:: %1 is the path to the tests\<OSConfig> folder
:: %2 is the path to the packages folder
pushd %1
FOR /D %%F IN (*.Tests) DO (
IF EXIST %%F\netcoreapp1.0 (
pushd %%F\netcoreapp1.0
IF EXIST RunTests.cmd (
CALL RunTests.cmd %2... |
c1929e55-7af0-4ce2-b6aa-82b27bfad41a | {
"language": "Batchfile"
} | ```batchfile
@echo off
set NaturalDocsParams=
rem Shift and loop so we can get more than nine parameters.
rem This is especially important if we have spaces in file names.
:MORE
if "%1"=="" goto NOMORE
set NaturalDocsParams=%NaturalDocsParams% %1
shift
goto MORE
:NOMORE
perl NaturalDocs %NaturalDocsPa... | ```batchfile
@perl %~dp0NaturalDocs %*``` |
a2b85fab-44bd-4948-a4fa-cc294d9ea84c | {
"language": "Batchfile"
} | ```batchfile
:: Copyright (c) 2012 The Native Client Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
setlocal
set "PATH=c:\cygwin\bin;%PATH%"
bash -c "buildbot/buildbot_pnacl.sh %*"
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
... | ```batchfile
:: Copyright (c) 2012 The Native Client Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
setlocal
:: Load the hermetic cygwin environment (downloading/installing/updating
:: it if necessary).
call "%~dp0cygwin_env.... |
2c013ac9-4827-428b-aa10-e784229bf27a | {
"language": "Batchfile"
} | ```batchfile
:: Build tcplotter command-line utilities using cmake
:: Change working directory to archive directory
cd "%PKG_NAME%"
:: Create build directory
cd "src"
mkdir build
if errorlevel 1 exit 1
cd build
if errorlevel 1 exit 1
:: Build with cmake
cmake -G "MinGW Makefiles" -DCMAKE_CXX_STANDARD=11 --prefix=%PR... | ```batchfile
:: Build tcplotter command-line utilities using cmake
:: Change working directory to archive directory
cd "%PKG_NAME%"
:: Create build directory
cd "src"
mkdir build
if errorlevel 1 exit 1
cd build
if errorlevel 1 exit 1
:: Build with cmake
cmake -G "MinGW Makefiles" -D CMAKE_CXX_STANDARD=11 -D CMAKE_IN... |
b23c3856-1cae-47da-be37-2a4138190ade | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM Configure your favorite diff3/merge program here.
SET DIFF3="C:\Program Files\Funky Stuff\My Merge Tool.exe"
SET MINE=%9
SHIFT
SET OLDER=%9
SHIFT
SET YOURS=%9
REM Call the merge command (change the following line to make sense)
%DIFF3% --older %OLDER% --mine %MINE% --yours %YOURS%
REM Aft... | ```batchfile
@ECHO OFF
REM Configure your favorite diff3/merge program here.
SET DIFF3="C:\Program Files\Funky Stuff\My Merge Tool.exe"
REM We only have access to nine parameters at a time. We use SHIFT to slide
REM our nine-parameter window a little bit so we can get to what we need.
SET MINE=%9
SHIFT
SET OLDER=%9
... |
dc86996e-11ac-4f40-b6b4-b3bc3c1d46ae | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM Set data directory with GTFS files as text in separate directories
SET DATA_DIRECTORY="%~dp0..\data\gtfs"
REM Set output directory for tests in GTFS zip format
REM Don't chose a directory inside %DATA_DIRECTORY%
SET GTFS_OUTPUT_DIRECTORY="%~dp0tests"
REM Set output file for all tests combi... | ```batchfile
@ECHO OFF
REM Set data directory with GTFS files as text in separate directories
SET DATA_DIRECTORY="%~dp0..\data\gtfs"
REM Set output directory for tests in GTFS zip format
REM Don't chose a directory inside %DATA_DIRECTORY%
SET GTFS_OUTPUT_DIRECTORY="%~dp0tests"
REM Set output file for all tests combi... |
a7986dac-5ff2-4897-9849-91eb7b3bfff1 | {
"language": "Batchfile"
} | ```batchfile
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 (the "Lice... | ```batchfile
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 (the "Lice... |
6960c0b0-78c6-482c-9e82-021e68676be9 | {
"language": "Batchfile"
} | ```batchfile
```
Add wrapper batch file for Jenkins to build | ```batchfile
mkdir ..\libm2dec\Release
mkdir ..\libm2dec\Debug
mkdir ..\h264dec\Release
mkdir ..\h264dec\Debug
mkdir ..\m2dec\Release
mkdir ..\m2dec\Debug
"C:\Program Files (x86)\Renesas\Hew\hmake.exe" m2dec.mak > buildlog.txt
find "ERROR" buildlog.txt
if errorlevel 1 exit /b 0
exit /b 1
``` |
b3b89b1a-af6e-4b9b-881e-b1cd14f027d8 | {
"language": "Batchfile"
} | ```batchfile
call tools\build_win_bdist64-py26.bat
call tools\build_win_bdist32-py26.bat
call tools\build_win_bdist64-py27.bat
call tools\build_win_bdist32-py27.bat
call tools\build_win_bdist32-py32.bat
call tools\build_win_bdist64-py32.bat
```
Create archives in windows build script | ```batchfile
call tools\build_win_bdist64-py26.bat
call tools\build_win_bdist32-py26.bat
call tools\build_win_bdist64-py27.bat
call tools\build_win_bdist32-py27.bat
call tools\build_win_bdist32-py32.bat
call tools\build_win_bdist64-py32.bat
call python setup.py sdist --formats=zip,gztar
``` |
6440db95-dae3-488e-8ca7-fad54a68a146 | {
"language": "Batchfile"
} | ```batchfile
doxygen
cd latex
pdflatex -shell-escape refman.tex
makeindex -s ../refman.ist refman.idx
pdflatex -shell-escape refman.tex
pdflatex -shell-escape refman.tex
cd ..
copy latex\refman.pdf .
```
Call pdflatex in non stop mode | ```batchfile
doxygen
cd latex
pdflatex -interaction=nonstopmode -shell-escape refman.tex
makeindex -s ../refman.ist refman.idx
pdflatex -interaction=nonstopmode -shell-escape refman.tex
pdflatex -interaction=nonstopmode -shell-escape refman.tex
cd ..
copy latex\refman.pdf .
``` |
049dd1dc-03a1-4c71-8584-d25fea05d4c8 | {
"language": "Batchfile"
} | ```batchfile
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d system_user_demo_db -p 5432 -f ..\action_user_login.sql 1> test_action_user_login.log 2>&1
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d system_user_demo_db -p 5432 -f test_action_user_login.sql ... | ```batchfile
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d system_user_demo_db -p 5432 -f ..\action_user_login.sql 1> test_action_user_login.log 2>&1
"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d system_user_demo_db -p 5432 -f test_action_user_login_mast... |
29c097bc-3b6b-4752-be62-b274121340ef | {
"language": "Batchfile"
} | ```batchfile
"C:\Program Files (x86)\Java\jre7\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.autocomplete.js ^
--js=jquery/jq... | ```batchfile
"C:\Program Files (x86)\Java\jre7\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.autocomplete.js ^
--js=jquery/jq... |
d1a7cd8e-2e4b-402b-a054-9eec19ee29fa | {
"language": "Batchfile"
} | ```batchfile
```
Revert "Removed the Batch script in favior of the powershell script." | ```batchfile
@echo off
pushd .
ECHO ********** Build projects in release mode
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" Avalara.AvaTax.Net20.sln /t:Build /p:Configuration="Release"
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" Avalara.AvaTax.Net45.sln /t:Build /p:Configuration="Release"
"C:\Program... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.