Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add a helper sync script
pushd %~dp0 setlocal if "%2" == "" ( set source=%~dp0\Plugins set dest=%1\Plugins shift ) else ( set source=%1\Plugins set dest=%2\Plugins shift shift ) robocopy /mir /l %source% %dest% -xd Binaries -xd Resources -xd Intermediate popd
Fix golden reference in verible lint test
-lint_fatal -parse_fatal sv_file.sv -lint_fatal -parse_fatal vlog_file.v -lint_fatal -parse_fatal vlog05_file.v
--lint_fatal --parse_fatal sv_file.sv --lint_fatal --parse_fatal vlog_file.v --lint_fatal --parse_fatal vlog05_file.v
Switch to using the latest v3.3 nuget.exe
@echo off rem Optional batch file to quickly build with some defaults. rem Alternatively, this batch file can be invoked passing msbuild parameters, like: build.cmd /v:detailed /t:Rebuild cd %~dp0 SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe IF EXIST %CACHED_NUGET% goto copynuget echo Downloading latest ...
@echo off rem Optional batch file to quickly build with some defaults. rem Alternatively, this batch file can be invoked passing msbuild parameters, like: build.cmd /v:detailed /t:Rebuild cd %~dp0 SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe IF EXIST %CACHED_NUGET% goto copynuget echo Downloading latest ...
Adjust to version change of Commons IO
@ECHO OFF rem %~dp0 is the expanded pathname of the current script under NT set LOCAL_FOP_HOME= if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 set LIBDIR=%LOCAL_FOP_HOME%lib set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar set LOCALCLASSPATH=%LOCALCLASSPATH%...
@ECHO OFF rem %~dp0 is the expanded pathname of the current script under NT set LOCAL_FOP_HOME= if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 set LIBDIR=%LOCAL_FOP_HOME%lib set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar set LOCALCLASSPATH=%LOCALCLASSPATH%...
Fix path in thrift compiler tool
thrift-0.9.1.exe -gen java -strict -out src\main\java jdbc.thrift pause
thrift-0.9.1.exe -gen java -strict -out ..\src\main\java jdbc.thrift pause
Add batch file to run IronPython tests under TeamCity.
@echo off setlocal set _test_root=%DLR_ROOT%\Test set _runner_sln=%_test_root%\TestRunner\TestRunner.sln set _runner=%_test_root%\TestRunner\TestRunner\bin\Debug\TestRunner.exe if not exist "%_runner%" call :build_runner "%_runner%" "%_test_root%\IronPython.tests" /verbose /all /binpath:"%DLR_BIN%" /nunitoutput:"%_...
Add missing psutil dependency for appveyor
"%sdkver%" -q -version:v7.0 call setenv /x64 rem install python packages pip install --cache-dir c:/temp nose pip install --cache-dir c:/temp Sphinx pip install --cache-dir c:/temp coverage pip install --cache-dir c:/temp numpy pip install --cache-dir c:/temp pyside pip install --cache-dir c:/temp git+http://github.co...
"%sdkver%" -q -version:v7.0 call setenv /x64 rem install python packages pip install --cache-dir c:/temp nose pip install --cache-dir c:/temp Sphinx pip install --cache-dir c:/temp coverage pip install --cache-dir c:/temp numpy pip install --cache-dir c:/temp pyside pip install --cache-dir c:/temp psutil pip install -...
Build script and nuget now automatically grabs missing dependencies
call .\packages\psake.4.2.0.1\tools\psake.cmd build.ps1 %* pause
set EnableNuGetPackageRestore=true call .\packages\psake.4.2.0.1\tools\psake.cmd build.ps1 %* pause
Build with VS 15 dev tools
@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 Visual Studio 2015...
@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 Visual Studio 2015...
Disable logger because it does not work with this preview version of vstest.console.exe
@echo off call "..\VsDevCmd.cmd" set platform="%1" if "%1" == "AnyCPU" ( set platform="x86" ) set vstest="%VSINSTALLDIR%\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" for /r ..\..\Tests\Magick.NET.Tests\bin %%a in (*.dll) do ( if "%%~nxa"=="Magick.NET.Tests.dll" ( echo "Running tests from: %%~dpnxa...
@echo off call "..\VsDevCmd.cmd" set platform="%1" if "%1" == "AnyCPU" ( set platform="x86" ) set vstest="%VSINSTALLDIR%\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" for /r ..\..\Tests\Magick.NET.Tests\bin %%a in (*.dll) do ( if "%%~nxa"=="Magick.NET.Tests.dll" ( echo "Running tests from: %%~dpnxa...
Remove that -o; everybody knows what's going on
# © 2013 the Mid Authors under the MIT license. See AUTHORS for the list of authors. T := $(TARG) TARG := cmd/$(T)/$(T) ALL += $(TARG) OFILES := $(OFILES:%=cmd/$(T)/%) ALLO += $(OFILES) LIBHFILES := $(LIBDEPS:%=include/%.h) LIBDEPS := $(shell echo $(LIBDEPS) | awk '{ for(i = 1; i <= NF; i++) printf("lib/%s/%s.a ...
# © 2013 the Mid Authors under the MIT license. See AUTHORS for the list of authors. T := $(TARG) TARG := cmd/$(T)/$(T) ALL += $(TARG) OFILES := $(OFILES:%=cmd/$(T)/%) ALLO += $(OFILES) LIBHFILES := $(LIBDEPS:%=include/%.h) LIBDEPS := $(shell echo $(LIBDEPS) | awk '{ for(i = 1; i <= NF; i++) printf("lib/%s/%s.a ...
Convert script from Unicode to ANSI
SET SOL_DIR=%1 SET ALT_SOL_DIR=..\ IF "%SOL_DIR%" == "" SET SOL_DIR=%ALT_SOL_DIR% IF "%SOL_DIR%" == "*Undefined*" SET SOL_DIR=%ALT_SOL_DIR% echo SOL_DIR is %SOL_DIR% SET PROJ_DIR=%2 SET ALT_PROJ_DIR=%SOL_DIR%\SoundMetrics.Aris.BeamWidths\ IF "%PROJ_DIR%" == "" SET PROJ_DIR=%ALT_PROJ_DIR% IF "%PROJ_DIR%" == "*Undefine...
SET SOL_DIR=%1 SET ALT_SOL_DIR=..\ IF "%SOL_DIR%" == "" SET SOL_DIR=%ALT_SOL_DIR% IF "%SOL_DIR%" == "*Undefined*" SET SOL_DIR=%ALT_SOL_DIR% echo SOL_DIR is %SOL_DIR% SET PROJ_DIR=%2 SET ALT_PROJ_DIR=%SOL_DIR%\SoundMetrics.Aris.BeamWidths\ IF "%PROJ_DIR%" == "" SET PROJ_DIR=%ALT_PROJ_DIR% IF "%PROJ_DIR%" == "*Undefined...
Fix typo in Windows build
:: 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" .. if errorlevel 1 exit 1 cmake --build -DCMAKE_C...
:: 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 .. if errorlevel 1 exit 1...
Add support for specifying what benchmark suite you want to run
@ECHO OFF if not "%1" == "" goto continue for %%i in (imaginary) do for %%j in (yca\%%i\*.yca) do call %0 %%j goto end :continue echo Processing %1 firstify %1 -himlv > %1.txt 2>&1 :end
@ECHO OFF if "%1" == "goto" shift && goto continue REM If they enter nothing, do all the benchmarks set def=imaginary,spectral,real if not "%1" == "" set def=%1 for %%i in (%def%) do for %%j in (yca\%%i\*.yca) do call %0 goto %%j goto end :continue echo Processing %1 firstify %1 -himlv > %1.txt 2>&1 :en...
Remove the byte order mark
REM QuantConnect Lean Engine -- Python Build Script. del Python.Runtime.dll REM Python Compile the Algorithm with all the files in current directory nPython -m compileall -lq . REM Copy to the Lean Algorithm Project copy *.pyc ..\..\..\Launcher\bin\Debug >NUL copy *.pyc ..\..\..\Launcher\bin\Release >NUL copy *.pyc ...
REM QuantConnect Lean Engine -- Python Build Script. del Python.Runtime.dll REM Python Compile the Algorithm with all the files in current directory nPython -m compileall -lq . REM Copy to the Lean Algorithm Project copy *.pyc ..\..\..\Launcher\bin\Debug >NUL copy *.pyc ..\..\..\Launcher\bin\Release >NUL copy *.pyc ....
Delete pause command after generated visual studio solution
@echo off Rem Generate visual studio project files Rem This file is a part of llbc library echo Visual Studio solution and project files generate tool. echo For now supported Visual Studio versions: echo vs2005 echo vs2008 echo vs2010 echo vs2012 echo vs2013 echo vs2015 set /p choose=Please input: ...
@echo off Rem Generate visual studio project files Rem This file is a part of llbc library echo Visual Studio solution and project files generate tool. echo For now supported Visual Studio versions: echo vs2005 echo vs2008 echo vs2010 echo vs2012 echo vs2013 echo vs2015 set /p choose=Please input: ...
Update warning message with clear buildpack names
@echo off if exist %1\web.config ( set message=Warning: We detected a Web.config in your app. This probably means that you want to use the hwc-buildpack. If you really want to use the binary-buildpack, you must specify a start command. ) else ( set message=Error: no start command specified during staging or la...
@echo off if exist %1\web.config ( set message=Warning: We detected a Web.config in your app. This probably means that you want to use the HWC Buildpack (run cf buildpacks for exact buildpack name). If you really want to use the Binary Buildpack, you must specify a start command. ) else ( set message=Error: no...
Fix path to VirtualBox in PATH on Windows
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 adapter and D...
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 adapter and ...
Enable zlib in the Windows build
@ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -H. -Bbuild GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild GOTO :build :build cmake --build build --config Release -- /maxcpucount COPY build\Release\luvi.exe . GOTO :end :test S...
@ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild GOTO :build :build cmake --build build --config Release -- /maxcpucount COPY build\Re...
Test set CXX14 for win build
"%R%" CMD INSTALL --build . IF %ERRORLEVEL% NEQ 0 exit 1
%SRC_DIR%>set "CXX_STD=CXX14" %SRC_DIR%>set "CXX14STD=-std=c++1y" "%R%" CMD INSTALL --build . IF %ERRORLEVEL% NEQ 0 exit 1
Check the Jeka jar is actually present at JEKA_HOME
@echo off @rem Change here the default JVM options @rem SET JEKA_OPTS == "" @rem set terminal encoding to utf-8 chcp 65001 > nul if not "%JEKA_JDK%" == "" set "JAVA_HOME=%JEKA_JDK%" if "%JAVA_HOME%" == "" set "JAVA_CMD=java" if not "%JAVA_HOME%" == "" set "JAVA_CMD=%JAVA_HOME%\bin\java" if exist %cd%\jeka\boot set ...
@echo off @rem Change here the default JVM options @rem SET JEKA_OPTS == "" @rem set terminal encoding to utf-8 chcp 65001 > nul if not "%JEKA_JDK%" == "" set "JAVA_HOME=%JEKA_JDK%" if "%JAVA_HOME%" == "" set "JAVA_CMD=java" if not "%JAVA_HOME%" == "" set "JAVA_CMD=%JAVA_HOME%\bin\java" if exist %cd%\jeka\boot set ...
Add missing set commands to commented-out code
@echo off rem config.bat: master configuration file for the batch files rem Running this command directly has no effect, rem but you can tweak the settings to your liking. rem Set the amount of RAM available to the command line tools. set JFLAGS=-Xmx512m rem Set the NO_UPDATE_CHECK flag to skip the update check. re...
@echo off rem config.bat: master configuration file for the batch files rem Running this command directly has no effect, rem but you can tweak the settings to your liking. rem Set the amount of RAM available to the command line tools. set JFLAGS=-Xmx512m rem Set the NO_UPDATE_CHECK flag to skip the update check. re...
Add batch file for project creation
@echo off echo =========================================================================== echo 1. Create bower.json, package.json echo 2. Download gulpfile.js echo 3. Make directories echo. pause && npm init && bower init && ^ npm install gulp gulp-sass gulp-jade gulp-shell gulp-coffee && ^ curl -O http...
Improve bat not accepting enter first loop
@echo off SET STATUS=, :START: python.exe mcedit.py ECHO. ECHO ^|-----------------^| ECHO ^|Mcedit Terminated^| ECHO ^|-----------------^| ECHO. SET /P K=Press R or Enter to restart MCEdit%STATUS% any other key to exit: IF /I %K%==R GOTO CLEAR GOTO EXIT :CLEAR: CLS SET STATUS= again, GOTO START :EXIT:
@echo off SET STATUS=, :START: python.exe mcedit.py ECHO. ECHO ^|-----------------^| ECHO ^|Mcedit Terminated^| ECHO ^|-----------------^| ECHO. SET K==R SET /P K=Press R or Enter to restart MCEdit%STATUS% any other key to exit: IF /I %K%==R GOTO CLEAR GOTO EXIT :CLEAR: CLS SET STATUS= again, GOTO START :EXIT:
Add git status debug output to test
if not exist .git exit 1 git describe if errorlevel 1 exit 1 for /f "delims=" %%i in ('git describe') do set gitdesc=%%i if errorlevel 1 exit 1 echo "%gitdesc%" if not "%gitdesc%"=="1.8.1" exit 1 set PYTHONPATH=. python -c "import conda_build; assert conda_build.__version__ == '1.8.1', conda_build.__version__" if error...
if not exist .git exit 1 git describe if errorlevel 1 exit 1 for /f "delims=" %%i in ('git describe') do set gitdesc=%%i if errorlevel 1 exit 1 echo "%gitdesc%" if not "%gitdesc%"=="1.8.1" exit 1 git status if errorlevel 1 exit 1 set PYTHONPATH=. python -c "import conda_build; assert conda_build.__version__ == '1.8.1',...
Add toolset as commandline parameter
powershell -Command "(gc .build/projects/vs2015/unit_test.vcxproj) -replace '<ExceptionHandling>false', '<ExceptionHandling>Sync' | Out-File -encoding UTF8 .build/projects/vs2015/unit_test.vcxproj" powershell -Command "(gc .build/projects/vs2015/unit_test.vcxproj) -replace '<RuntimeTypeInfo>false', '<RuntimeTypeInfo>tr...
powershell -Command "(gc .build/projects/%1/unit_test.vcxproj) -replace '<ExceptionHandling>false', '<ExceptionHandling>Sync' | Out-File -encoding UTF8 .build/projects/%1/unit_test.vcxproj" powershell -Command "(gc .build/projects/%1/unit_test.vcxproj) -replace '<RuntimeTypeInfo>false', '<RuntimeTypeInfo>true' | Out-Fi...
Fix pathname of patch file
@echo off if exist src\fscanner.l goto dir_okay echo !!!! Must run this batch file from the main source directory! exit :dir_okay echo ---- Start by patching the ylwrap script to avoid problems echo with "ln -s": patch -p1 -i contrib/msdos/ylwrap.pat echo ---- Now configure and make it. echo -- ...
@echo off if exist src\fscanner.l goto dir_okay echo !!!! Must run this batch file from the main source directory! exit :dir_okay echo ---- Start by patching the ylwrap script to avoid problems echo with "ln -s": patch -p1 -i packages/MSDOS/ylwrap.pat echo ---- Now configure and make it. echo --...
Add other dlls to copy for release. Fix libstc++-6.dll not being found as requires quotations
@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\ copy %QTPAT...
@call set_vars.bat copy %QTDIR%\5.8\mingw53_32\Qt5Charts.dll %ROOTPATH%\release\ copy %QTDIR%\5.8\mingw53_32\Qt5Core.dll %ROOTPATH%\release\ copy %QTDIR%\5.8\mingw53_32\Qt5Gui.dll %ROOTPATH%\release\ copy %QTDIR%\5.8\mingw53_32\Qt5Network.dll %ROOTPATH%\release\ copy %QTDIR%\5.8\mingw53_32\Qt5Widgets.dll %ROOTPATH%\rel...
Add a Stack build script for Windows
@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 ".." %*
Copy the necessary Visual C++ Runtime files into the ZIP archive.
@echo off rem Repack the installer contents into a ZIP archive. mkdir .\unpacked msiexec /a CormanLispInstaller.msi /qn TARGETDIR="%~dp0unpacked" del CormanLispBinaries.zip powershell Compress-Archive -Path \"%~dp0unpacked\Corman Lisp\" -DestinationPath \"%~dp0CormanLispBinaries.zip\" rd /s /q .\unpacked
@echo off rem Repack the installer contents into a ZIP archive. mkdir .\unpacked msiexec /a CormanLispInstaller.msi /qn TARGETDIR="%~dp0unpacked" move ".\unpacked\System\*" ".\unpacked\Corman Lisp\" del CormanLispBinaries.zip rem rem Visual C++ Runtime DLL files and Universal CRT files Local Deployment rem copy "%VS1...
Update perl module version to be built
@echo off set drive=%~dp0 set drivep=%drive% set PERLVER=5.20.3.1 set PERLDIR=%drivep%\%ARCH%\perl set RELVERSION=3.3.0_01 if #%drive:~-1%# == #\# set drivep=%drive:~0,-1% set PATH=%PERLDIR%\perl\site\bin;%PERLDIR%\perl\bin;%PERLDIR%\c\bin;%PATH%
@echo off set drive=%~dp0 set drivep=%drive% set PERLVER=5.20.3.1 set PERLDIR=%drivep%\%ARCH%\perl set RELVERSION=3.3.0_02 if #%drive:~-1%# == #\# set drivep=%drive:~0,-1% set PATH=%PERLDIR%\perl\site\bin;%PERLDIR%\perl\bin;%PERLDIR%\c\bin;%PATH%
Update lit version to fix windows build
@ECHO off @SET LIT_VERSION=1.1.4 IF NOT "x%1" == "x" GOTO :%1 :luvit IF NOT EXIST lit.exe CALL make.bat lit ECHO "Building luvit" lit.exe make GOTO :end :lit ECHO "Building lit" PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://github.com/luvit/lit/...
@ECHO off @SET LIT_VERSION=1.1.8 IF NOT "x%1" == "x" GOTO :%1 :luvit IF NOT EXIST lit.exe CALL make.bat lit ECHO "Building luvit" lit.exe make GOTO :end :lit ECHO "Building lit" PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://github.com/luvit/lit/...
Fix pipenv addition to PATH when PATH contains parenthsis.
@echo off chcp 65001 > NUL set PIPENV_VENV_IN_PROJECT=1 python --version > NUL 2>&1 if %ERRORLEVEL% neq 0 ( echo Cannot find Python executable, make sure it is installed and added to your PATH. pause exit /B 0 ) python -c "import pipenv" > NUL 2>&1 if %ERRORLEVEL% neq 0 ( python -m pip install --user...
@echo off SETLOCAL EnableDelayedExpansion chcp 65001 > NUL set PIPENV_VENV_IN_PROJECT=1 python --version > NUL 2>&1 if %ERRORLEVEL% neq 0 ( echo Cannot find Python executable, make sure it is installed and added to your PATH. pause exit /B 0 ) python -c "import pipenv" > NUL 2>&1 if %ERRORLEVEL% neq 0 ( ...
Add the logic for the Windows script
@echo off setlocal
@echo off setlocal set "output=nul" set "times=1" :help :parseArgs if "%~1" == "" goto main if /i "%~1" == "-?" goto help if /i "%~1" == "-h" goto help if /i "%~1" == "--help" goto help if /i "%~1" == "-t" ( set "times=%~2" shift ) if /i "%~1" == "--times" ( set "times=%~2" shift ) if /i "%~1" =...
Use MSVC import lib for MSVC DLL for Fluidsynth in MSVC build.
scons withMSVC=1 custom=custom-msvc.py useJack=0 buildRelease=1 buildCsoundVST=1 buildvst4cs=1 buildInterfaces=1 buildCsoundAC=1 buildJavaWrapper=1 useOSC=1 buildPythonOpcodes=1 buildLoris=0 buildStkOpcodes=1 buildWinsound=1 noFLTKThreads=0 noDebug=1 buildPDClass=1 buildVirtual=1 buildCsound5GUI=1 buildTclcsound=1 buil...
scons withMSVC=1 custom=custom-msvc.py useJack=0 buildRelease=1 buildCsoundVST=1 buildvst4cs=1 buildInterfaces=1 buildCsoundAC=1 buildJavaWrapper=1 useOSC=0 buildPythonOpcodes=1 buildLoris=0 buildStkOpcodes=1 buildWinsound=1 noFLTKThreads=0 noDebug=1 buildPDClass=0 buildVirtual=1 buildCsound5GUI=1 buildTclcsound=1 buil...
Add build script for windows
set CONDA_LOC=C:\Users\mcraig\AppData\Local\Continuum\Anaconda\Scripts\ set CMD_IN_ENV=cmd /E:ON /V:ON /C %CONDA_LOC%obvci_appveyor_python_build_env.cmd conda config --add channels astropy python affiliate-builder\build_recipes.py for /F "tokens=*" %%A in (.\build_order.txt) do ( cd bdist_conda\%%A python setup.py ...
Add skip existing to appveyor.
cd conda-skeletons conda install conda-build anaconda-client conda config --add channels matsci conda config --set anaconda_upload yes FOR %%A IN (ase latexcodec pybtex spglib pyhull pymatgen pymatgen-db seekpath) DO conda build --user matsci %%A cd ..
cd conda-skeletons conda install conda-build anaconda-client conda config --add channels matsci conda config --set anaconda_upload yes FOR %%A IN (ase latexcodec pybtex spglib pyhull pymatgen pymatgen-db seekpath) DO conda build --skip-existing --user matsci %%A cd ..
Update command line for new version of signtool
@echo off call "%~dp0\SetVsEnv.bat" x86 for /r "%~dp0\..\" %%i in (*.sys) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i" for /r "%~dp0\..\" %%i in (*.cat) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
@echo off call "%~dp0\SetVsEnv.bat" x86 for /r "%~dp0\..\" %%i in (*.sys) do "signtool.exe" sign /fd SHA256 /f "%~dp0\VirtIOTestCert.pfx" "%%i" for /r "%~dp0\..\" %%i in (*.cat) do "signtool.exe" sign /fd SHA256 /f "%~dp0\VirtIOTestCert.pfx" "%%i"
Fix auto-sync on start for Windows.
@echo off setlocal title Build slave if not exist %~dp0..\..\depot_tools\. ( echo You must put a copy of depot_tools in %~dp0..\depot_tools echo Did you read the instructions carefully?? goto :EOF ) set PATH=%~dp0..\..\depot_tools;%PATH% :: Running it once will make sure svn and python were downloaded. ...
@echo off setlocal title Build slave if not exist %~dp0..\..\depot_tools\. ( echo You must put a copy of depot_tools in %~dp0..\depot_tools echo Did you read the instructions carefully?? goto :EOF ) set PATH=%~dp0..\..\depot_tools;%PATH% cd /d %~dp0 :: Running it once will make sure svn and python were ...
Remove export from windows script.
export set "JAVA_HOME_CONDA_BACKUP=%JAVA_HOME%" export set "JAVA_HOME=%CONDA_PREFIX%\Library"
set "JAVA_HOME_CONDA_BACKUP=%JAVA_HOME%" set "JAVA_HOME=%CONDA_PREFIX%\Library"
Add NuGet push to NuGet build script.
NuGet.exe pack ../Springboard365.Tools.CommandLine.Core.csproj -Build -symbols pause
NuGet.exe pack ../Springboard365.Tools.CommandLine.Core.csproj -Build -symbols NuGet.exe push *.nupkg pause
Fix path to dummy pvlist file
REM @echo off 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 set MYDIRGATE=%MYDIRBLOCK%..\..\..\gateway\master if exist "%ICPSETTINGSDIR%/gwblock.pvlist" ( set GWBL...
REM @echo off 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 set MYDIRGATE=%MYDIRBLOCK%..\..\..\gateway if exist "%ICPSETTINGSDIR%/gwblock.pvlist" ( set GWBLOCK_PVL...
Fix example paths in batch file.
::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable ::SET KSPPATH...
::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable ::SET KSPPATH...
Fix to windows build script
@echo off :: Author: Mark Gottscho <mgottscho@ucla.edu> echo Building X-Mem for Windows x86-64... :: Do a little trick to ensure build datetime are correct :: DO NOT remove this code -- otherwise X-Mem will fail to build. set build_datetime=%DATE% %TIME% echo #ifndef __BUILD_DATETIME_H>src\include\build_datetime.h e...
@echo off :: Author: Mark Gottscho <mgottscho@ucla.edu> set ARCH=%1 echo Building X-Mem for Windows on %ARCH%... :: Do a little trick to ensure build datetime are correct :: DO NOT remove this code -- otherwise X-Mem will fail to build. set build_datetime=%DATE% %TIME% echo #ifndef __BUILD_DATETIME_H>src\include\bui...
Update to use latest KuduScript
@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/3362e1a069445bc83767cd41bb1160d239cfac7b IF %ERRORLEVEL% NEQ 0 goto error goto end :error if %coun...
@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/cf97bbbb26b0442de8cafa99275e3ea8fedf8849 IF %ERRORLEVEL% NEQ 0 goto error goto end :error if %coun...
Add Batch File PackageRestore tools
@Echo off Title %CD% - Restore Clangbuilder Packages PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0RestorePackages.ps1' %*"
Fix windows script start failure
@echo off setlocal set WEB_PROCESS_TITLE=Skywalking-Web set WEB_BASE_PATH=%~dp0%.. set WEB_RUNTIME_OPTIONS="-Xms256M -Xmx512M" set CLASSPATH=%WEB_BASE_PATH%\config; SET CLASSPATH=%WEB_BASE_PATH%\libs\*;%CLASSPATH% if ""%JAVA_HOME%"" == """" ( set _EXECJAVA=java ) else ( set _EXECJAVA="%JAVA_HOME%"/bin/java ) st...
@echo off setlocal set WEB_PROCESS_TITLE=Skywalking-Web set WEB_BASE_PATH=%~dp0%.. set WEB_RUNTIME_OPTIONS="-Xms256M -Xmx512M" set CLASSPATH=%WEB_BASE_PATH%\config; SET CLASSPATH=%WEB_BASE_PATH%\libs\*;%CLASSPATH% if defined JAVA_HOME ( set _EXECJAVA="%JAVA_HOME:"=%"\bin\java ) if not defined JAVA_HOME ( echo "JA...
Add script to build and test the projects.
@echo off setlocal set _projectName=CommandLine set _testProject=test\%_projectName%.tests.csproj set _analyzerTestProject=analyzer\%_projectName%.Analyzer.Test\%_projectName%.Analyzer.Test.csproj set _config=%1 if not defined _config ( set _config=Debug ) echo -------------------------- echo !!! Restoring package...
Add stress tests to jenkins on windows
set PATH=C:\Ruby192\bin;%PATH% REM Chef 10 contains the client in the chef/ sub-directory cd chef ruby -v call bundle install --binstubs --path vendor/bundle || ( call rm Gemfile.lock && call bundle install --binstubs --path vendor/bundle ) ruby bin\rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f...
set PATH=C:\Ruby192\bin;%PATH% REM Chef 10 contains the client in the chef/ sub-directory cd chef ruby -v call bundle install --binstubs --path vendor/bundle || ( call rm Gemfile.lock && call bundle install --binstubs --path vendor/bundle ) ruby bin\rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f...
Add batch file for Sphinx doc generation on Windows
@ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=source set BUILDDIR=build if "%1" == "" goto help %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure ...
Use "%~1" instead of "%1" in bat argument parsing.
@echo off setlocal title VSCode Dev pushd %~dp0\.. :: Get electron, compile, built-in extensions if "%VSCODE_SKIP_PRELAUNCH%"=="" node build/lib/preLaunch.js for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a set NAMESHORT=%NAMESHORT: "=% set NAMESHORT=%NAMESH...
@echo off setlocal title VSCode Dev pushd %~dp0\.. :: Get electron, compile, built-in extensions if "%VSCODE_SKIP_PRELAUNCH%"=="" node build/lib/preLaunch.js for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a set NAMESHORT=%NAMESHORT: "=% set NAMESHORT=%NAMESH...
Add unnecessary files to .gitignore
del log.txt for %%i in (CalcEBNF, ComplexRightNull, EpsilonCycle, ManyAndOne, ManyAndOpt, RightNull, SimpleEpsilon, SimpleOpt, SimpleRightNull, SimpleSome, StackingConflict, TwoEpsilonsMiddle) do ( echo . >> log.txt echo %%i >> log.txt ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i %%i.yrd -c ExpandMeta ...
del log.txt for %%i in (CalcEBNF, ComplexRightNull, EpsilonCycle, ManyAndOne, ManyAndOpt, RightNull, SimpleEpsilon, SimpleOpt, SimpleRightNull, SimpleSome, StackingConflict, TwoEpsilonsMiddle) do ( echo . >> log.txt echo %%i >> log.txt ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i %%i.yrd -c ExpandMeta ...
Fix for test runner to capture a failing exit code.
@echo off rmdir bin mkdir bin haxe -cp src -neko bin/HxpectTests.n -main "hxpect.tests.Main" cd bin neko HxpectTests.n
@echo off rmdir bin mkdir bin haxe -cp src -neko bin/HxpectTests.n -main "hxpect.tests.Main" cd bin set errorlevel= neko HxpectTests.n exit /b %errorlevel%
Update kuduscript for function changes
@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/b3494d6fc023f34cc0dded832110b608635cca40 IF %ERRORLEVEL% NEQ 0 goto error goto end :error if %count...
@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/b1c12f132cf357238672dd57cd7213b1f282123a IF %ERRORLEVEL% NEQ 0 goto error goto end :error if %count...
Fix build/test script on Windows
# Assume zip install layout. and MYSQL_INSTALL_ROOT environment variable points to the root directory of the installation IF "%MYSQL_INSTALL_ROOT%"=="" set MYSQL_INSTALL_ROOT=C:\mysql\mariadb-5.5.28a-winx64\mariadb-5.5.28a-winx64\ set BINDIR=%MYSQL_INSTALL_ROOT%\bin set CERTDIR=%MYSQL_INSTALL_ROOT%\mysqltest\std...
REM Assume zip install layout. and MYSQL_INSTALL_ROOT environment variable points to the root directory of the installation IF "%MYSQL_INSTALL_ROOT%"=="" set MYSQL_INSTALL_ROOT=C:\mysql\mariadb-5.5.28a-winx64\mariadb-5.5.28a-winx64\ set BINDIR=%MYSQL_INSTALL_ROOT%\bin set CERTDIR=%MYSQL_INSTALL_ROOT%\mysqltest\s...
Create a non-portable bat file for compiling the shader files
T:/Applications/VulkanSDK/1.0.61.1/Bin/glslangValidator.exe -V -o ../source/core/visualizer/shaders/fullscreen_triangle_vs.spv -S vert ../source/core/visualizer/shaders/fullscreen_triangle_vs.glsl T:/Applications/VulkanSDK/1.0.61.1/Bin/glslangValidator.exe -V -o ../source/core/visualizer/shaders/final_resolve_ps.spv -S...
Add VSCode python env switch batch file.
@echo off set v_params=%* set v_params=%v_params:\=/% set v_params=%v_params:c:=/mnt/c% set v_params=%v_params:"=\"% bash.exe -c "python3 %v_params%"
Put quotes around PYTHONPATH to handle the case where there's a space in the name
@ECHO OFF IF NOT EXIST virtualenv GOTO DIRNOTEXISTS :DIREXISTS CALL virtualenv\scripts\activate SET PYTHONPATH=%CD%\submodule\s3g;%CD%\src\main\python;%PYTHONPATH% REM EXIT /B 0 easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py2.7.egg easy_install -q submodule\conveyor_bins\python\mock-1.0.1-py2....
@ECHO OFF IF NOT EXIST virtualenv GOTO DIRNOTEXISTS :DIREXISTS CALL virtualenv\scripts\activate SET PYTHONPATH=%CD%\submodule\s3g;%CD%\src\main\python;%PYTHONPATH% REM EXIT /B 0 easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py2.7.egg easy_install -q submodule\conveyor_bins\python\mock-1.0.1-py2....
Remove commented out line in windows build script. History is what git is for.
@ECHO OFF SETLOCAL SET EL=0 ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SET PLATFORM=x64 SET CONFIGURATION=Release ::SET LOCAL_DEV=1 FOR /F "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do SET APPVEYOR_REPO_BRANCH=%%i ECHO APPVEYOR_REPO_BRANCH^: %APPVEYOR_REPO_BRANCH% ::SET PATH=C:\m...
@ECHO OFF SETLOCAL SET EL=0 ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SET PLATFORM=x64 SET CONFIGURATION=Release ::SET LOCAL_DEV=1 FOR /F "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do SET APPVEYOR_REPO_BRANCH=%%i ECHO APPVEYOR_REPO_BRANCH^: %APPVEYOR_REPO_BRANCH% SET PATH=C:\mb\...
Add a batch file to automate compiling the Windows Help File (CHM)
@echo off REM Setup for running on Neil Mitchell's machine REM To run on other machines, install the appropriate things and REM Change the environment variables at the top REM REQUIRES: REM Internet Connection REM sed REM -------------------------------------------------------------------------- REM Paramete...
Set Default GUI to Pyblish QML
@echo off :: Dependencies 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 set MINDBENDER_LAUNCHER=%~dp0git\mindbender-launcher se...
@echo off :: Dependencies 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 set MINDBENDER_LAUNCHER=%~dp0git\mindbender-launcher se...
Update Windows build script to remove __init__.pyc.
rmdir %~dp0current-release\windows /s mkdir %~dp0current-release\windows cd %~dp0current-release\src\dbtk python setup.py py2exe move dist\dbtk.exe %~dp0current-release\windows rmdir build dist /s
rmdir %~dp0current-release\windows /s mkdir %~dp0current-release\windows cd %~dp0current-release\src\dbtk python setup.py py2exe move dist\dbtk.exe %~dp0current-release\windows rmdir build dist /s del __init__.pyc
Test script review for redundancies
@echo off setlocal cd "%~dp0" chcp 1252 > nul if exist tools\NUnit.Runners goto :test for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i if "%nuget%"=="" goto :nonuget md tools nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory tools || exit /b 1 move .\tools\NUnit.Runners.2.6.4 .\tools\NUnit.Runners if no...
@echo off pushd "%~dp0" call :main %* popd goto :EOF :main setlocal set NUNIT_CONSOLE_PATH=tools\NUnit.Runners\tools\nunit-console.exe if exist %NUNIT_CONSOLE_PATH% goto :test-all for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i if "%nuget%"=="" goto :nonuget nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDir...
Add git to default cygwin installation
@echo off REM Installs Cygwin with a minimal package requirement for Kickboxer REM Cy Rossignol <cy@rossignols.me> REM Exit codes: SET CYGWIN_INSTALLED=0 SET CYGWIN_NOT_INSTALLED=1 CD %CYGDIR% %CYGWIN_SETUP% --quiet-mode --no-admin --no-shortcuts ^ --site http://mirrors.kernel.org/sourceware/cygwin/ ^ --site rsync:...
@echo off REM Installs Cygwin with a minimal package requirement for Kickboxer REM Cy Rossignol <cy@rossignols.me> REM Exit codes: SET CYGWIN_INSTALLED=0 SET CYGWIN_NOT_INSTALLED=1 CD %CYGDIR% %CYGWIN_SETUP% --quiet-mode --no-admin --no-shortcuts ^ --site http://mirrors.kernel.org/sourceware/cygwin/ ^ --site rsync:...
Use ILRepack.MSBuild.Task 1.1.2 from sympa public myget feed
@echo off Nuget.exe restore "Source\MSBuild.Community.Tasks.sln" NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive Nuget.exe install ILRepack.MSBuild.Task -Version 1.1.1 -Source https://www.myget.org/F/sympa-public/api/v3/index.json -OutputDirectory .\Tools\ -ExcludeVersion -NonI...
@echo off Nuget.exe restore "Source\MSBuild.Community.Tasks.sln" NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive Nuget.exe install ILRepack.MSBuild.Task -Version 1.1.2 -Source https://www.myget.org/F/sympa-public/api/v3/index.json -OutputDirectory .\Tools\ -ExcludeVersion -NonI...
Change the script to be able to launch it when clicking on it
@echo off echo. echo --- StartNode---------------------------------------- if "%1" == "" goto usage goto doit :usage echo. echo Start a new Node echo - 1 : the url of the node to create echo. echo ex : startNode rmi://localhost/node1 echo ex : startNode jini://localhost/node2 echo. goto end :doit SETLOCAL c...
@echo off echo. echo --- StartNode---------------------------------------- if "%1" == "" goto usage goto doit :usage echo. echo Start a new Node echo - 1 : the url of the node to create echo. echo ex : startNode rmi://localhost/node1 echo ex : startNode jini://localhost/node2 echo. echo Node started with a ran...
Support for plugins in Windows
@echo off set current_dir=%~dp0\.. cd %current_dir% set _JAVACMD=java.exe if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe set HOST=0.0.0.0 set PORT=8080 set LOGGING_LEVEL=WARN rem set DEBUG=-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n "%_JAVACMD%" %DEBUG% -Xms256m -Xm...
@echo off set current_dir=%~dp0\.. cd %current_dir% set _JAVACMD=java.exe if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe set HOST=0.0.0.0 set PORT=8080 set LOGGING_LEVEL=WARN rem set DEBUG=-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n "%_JAVACMD%" %DEBUG% -Xms256m -Xm...
Add global variables to file
@ECHO OFF :USAGE :START :INITIALIZE SETLOCAL ENABLEDELAYEDEXPANSION SET GLOBALS_FILE=%1 SET VAR_NAME=%2 SET VALUE=%3 :CODE IF NOT EXIST %GLOBALS_FILE% ( COPY /Y NUL %GLOBALS_FILE% > NUL 2>&1 ) ECHO %VAR_NAME% %VALUE% >> %GLOBALS_FILE% :RETURN ENDLOCAL :EOF @ECHO ON
Add script to remove Windows 10 old user account pictures
@ECHO OFF SETLOCAL SETLOCAL EnableExtensions EnableDelayedExpansion SET /P name="Enter your Windows username: " ECHO You have entered [%name%] SET /P answer="Do you want to continue (Y/n)? " IF /I {!answer!}=={n} (GOTO :EOF) IF /I {!answer!}=={no} (GOTO :EOF) DEL "C:\Users\%name%\AppData\Roaming\Microsoft\Windows\Ac...
Add automated Windows build script using msbuild
@echo off REM Automated Windows build script for nomlib -- windev.local REM NOTE: This script is intended to be ran from the project's root REM directory, i.e.: %HOME%/Projects/nomlib.git REM virgo.local source repository unison nomlib IF NOT EXIST build mkdir build REM pushd build cd build if errorlevel 0 call .....
Enable hdf5 1_8_18 to build by turning of tests, examples and multi-core build
@ECHO OFF REM $Id$ REM Bat script building libHDF5 dependency automatically REM Author: Peter Nordin peter.nordin@liu.se REM Date: 2015-07-06 set dirname=hdf5 REM Automatic code starts here echo. echo ====================== echo Building 64-bit version of FMILibrary echo ====================== set OLDPATH=%PATH% ...
@ECHO OFF REM $Id$ REM Bat script building libHDF5 dependency automatically REM Author: Peter Nordin peter.nordin@liu.se REM Date: 2015-07-06 set dirname=hdf5 REM Automatic code starts here echo. echo ====================== echo Building the HDF5 library and tools echo ====================== set OLDPATH=%PATH% ca...
Correct mistake in windows bat file
mkdir build #mkdir 3rdparty\build Robocopy "./tools/googletest/googlemock" "./tools/protobuf/gmock" /E /MT:2 /R:0 /DCOPY:T Robocopy "./tools/googletest/googletest" "./tools/protobuf/gmock/gtest" /E /MT:2 /R:0 /DCOPY:T #Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T IF %ERRORLEVEL% LSS 8 g...
mkdir build REM mkdir 3rdparty\build Robocopy "./tools/googletest/googlemock" "./tools/protobuf/gmock" /E /MT:2 /R:0 /DCOPY:T Robocopy "./tools/googletest/googletest" "./tools/protobuf/gmock/gtest" /E /MT:2 /R:0 /DCOPY:T REM Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T IF %ERRORLEVEL% L...
Fix issue where CBT.NuGet.dll wasn't included in package because BinDir contained .."
@ECHO OFF msbuild /v:m /m /nologo dirs.proj /t:Rebuild FOR /F "usebackq" %%A IN (`dir %~dp0*.nuspec /s /b ^| findstr /v /i "CBT.DotNetFx"`) DO ( CALL :Pack "%%A" ) GOTO :EOF :Pack "NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~dp0..\bin\Debug\AnyCPU\%~n1"
@ECHO OFF msbuild /v:m /m /nologo dirs.proj /t:Rebuild FOR /F "usebackq" %%A IN (`dir %~dp0*.nuspec /s /b ^| findstr /v /i "CBT.DotNetFx"`) DO ( CALL :Pack "%%A" "%~dp0.." ) GOTO :EOF :Pack "NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~f2\bin\Debug\AnyCPU\%~n1"
Remove make_version from windows' recipe
cd %RECIPE_DIR%\.. %PYTHON% make_version.py %PYTHON% setup.py install --single-version-externally-managed --record=record.txt
cd %RECIPE_DIR%\.. %PYTHON% setup.py install --single-version-externally-managed --record=record.txt
Use 64-bit build for windows (assuming community or pro edition)
@ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild GOTO :build :build cmake --build build --config Release -- /maxcpucount COPY build\Re...
@ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild -G"Visual Studio 12 2013 Win64" GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild -G"Visual Studio 12 2013 Win64" GOTO :build :build cm...
Update bat file by new NuGet version
@echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v:M /fl /flp:L...
@echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v:M /fl /flp:L...
Delete HLSL directory when copying Android assets.
md assets\Data xcopy ..\Bin\Data\*.* assets\Data /S /E /C /Y md assets\CoreData xcopy ..\Bin\CoreData\*.* assets\CoreData /S /E /C /Y
md assets\Data xcopy ..\Bin\Data\*.* assets\Data /S /E /C /Y md assets\CoreData xcopy ..\Bin\CoreData\*.* assets\CoreData /S /E /C /Y rd /S /Q assets\CoreData\Shaders\HLSL
Fix conda wrapper for Windows
@echo off @set "CONDA_DEFAULT_ENV=@CONDA_ENV_DIR@" @endlocal & ( @set PATH="%CONDA_DEFAULT_ENV%";"%CONDA_DEFAULT_ENV%\Scripts";"%CONDA_DEFAULT_ENV%\Library\bin";%PATH% @REM Run any activate scripts @if exist "%CONDA_DEFAULT_ENV%\etc\conda\activate.d" ( @pushd "%CONDA_DEFAULT_ENV%\etc\conda\activa...
@echo off @REM This script was based on the original conda activate.bat @setlocal @set "CONDA_DEFAULT_ENV=@CONDA_ENV_DIR@" @set PATH="%CONDA_DEFAULT_ENV%";"%CONDA_DEFAULT_ENV%\Scripts";"%CONDA_DEFAULT_ENV%\Library\bin";%PATH% @REM Run any activate scripts @if exist "%CONDA_DEFAULT_ENV%\etc\conda\activate.d" ( @...
Copy tests to ironpaw too
c:\python25\python.exe setup.py bdist_wininst c:\python25\python.exe setup.py sdist --formats=gztar,zip copy dist\*.* \\ironpaw\pub\jasons\arcrest copy documentation\html\*.* \\ironpaw\pub\jasons\arcrest\documentation\ hg history > \\ironpaw\pub\jasons\arcrest\changelog.txt
c:\python25\python.exe setup.py bdist_wininst c:\python25\python.exe setup.py sdist --formats=gztar,zip copy dist\*.* \\ironpaw\pub\jasons\arcrest copy documentation\html\*.* \\ironpaw\pub\jasons\arcrest\documentation\ copy tests.py \\ironpaw\pub\jasons\arcrest\tests.py hg history > \\ironpaw\pub\jasons\arcrest\ch...
Check if we are already on the minimal FAKE version - otherwise patch it.
@echo off :Build cls if not exist tools\FAKE.Core\tools\Fake.exe ( "tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" ) SET TARGET="Default" IF NOT [%1]==[] (set TARGET="%1") SET BUILDMODE="Release" IF NOT [%2]==[] (set BUILDMODE="%2") "tools\FAKE.Core\tools\...
@echo off SET MinimalFAKEVersion=639 SET FAKEVersion=1 cls if exist tools\FAKE.Core\tools\PatchVersion.txt ( FOR /F "tokens=*" %%i in (tools\FAKE.Core\tools\PatchVersion.txt) DO (SET FAKEVersion=%%i) ) if %MinimalFAKEVersion% lss %FAKEVersion% goto Build if %MinimalFAKEVersion%==%FAKEVersion% goto Build "t...
Update script for latest vt-dictionary.
@echo off if "%OS%" == "Windows_NT" setlocal if not defined JAVA_HOME goto no_java_home if not defined VTPASS_HOME goto no_vtpass_home set JAVA=%JAVA_HOME%\bin\java set PASS_JAR=%VTPASS_HOME%\jars\vt-password-${project.version}.jar set CLASSPATH=%LIBDIR%\vt-dictionary-3.0-SNAPSHOT.jar;%LIBDIR%\vt-crypt-2.1.1.jar;%L...
@echo off if "%OS%" == "Windows_NT" setlocal if not defined JAVA_HOME goto no_java_home if not defined VTPASS_HOME goto no_vtpass_home set JAVA=%JAVA_HOME%\bin\java set PASS_JAR=%VTPASS_HOME%\jars\vt-password-${project.version}.jar set LIBDIR=%VTPASS_HOME%\lib set CLASSPATH=%LIBDIR%\vt-dictionary-3.0.jar;%LIBDIR%\v...
Use JAVA_HOME for schema creation
@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 :No1 ECHO Mis...
@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_HOME%\bin\java" -cp ..\lib\* %DEBUG_OPTS% "-Daerobase.config.dir=%CONFIG%" org.jboss.aerogear.unifiedpush.DBMaintenance > initdb-java.log 2>&1 GOTO End...
Switch to Visual Studio 2012 for build release
@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 %*
@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 %*
Use the default directories for KSP in the master branch's batch files.
::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable SET KSPPATH=C...
::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable ::SET KSPPATH...
Remove another jsBeizer reference as we weren't using it
"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/jquery.tablesor...
"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/jquery.tablesor...
Build using utils library being build with CMake
REM This assumes that libutil.a has been previously build with cmake and is REM available in ..\build del /f RIBClientRUBY_wrap.cxx *.def *.pdb *.obj swig -ruby -includeall -c++ -I..\utils -o RIBClientRUBY_wrap.cxx RIBClient.i REM set USE_PRMAN=1 REM ruby extconf.rb --with-rman-dir=$RMANTREE --with-utils-include=.....
REM This assumes that libutil.a has been previously build with cmake and is REM available in ..\build del /f RIBClientRUBY_wrap.cxx *.def *.pdb *.obj swig -ruby -includeall -c++ -I..\utils -o RIBClientRUBY_wrap.cxx RIBClient.i REM set USE_PRMAN=1 REM ruby extconf.rb --with-rman-dir=$RMANTREE --with-utils-include=.....
Make cython always rebuild modules on windows
"C:\Program Files (x86)\Python 3.5\python.exe" setup.py build_ext --inplace "C:\Program Files\Python 3.5\python.exe" setup.py build_ext --inplace
rmdir /s /q build del vapoursynth.*.pyd "C:\Program Files (x86)\Python 3.5\python.exe" setup.py build_ext --inplace "C:\Program Files\Python 3.5\python.exe" setup.py build_ext --inplace pause
Use conda Python rather than system
setlocal enableextensions if "%PY_VER%" == "3.4" ( set MSVC_VER="10.0" ) else ( if "%PY_VER%" == "3.5" ( set MSVC_VER="14.0" ) else ( set MSVC_VER="9.0" ) ) set EXTRA_ARGS="" if %ARCH% EQU 64 ( set EXTRA_ARGS="address-model=64" ) python -c "from __future__ import p...
setlocal enableextensions if "%PY_VER%" == "3.4" ( set MSVC_VER="10.0" ) else ( if "%PY_VER%" == "3.5" ( set MSVC_VER="14.0" ) else ( set MSVC_VER="9.0" ) ) set EXTRA_ARGS="" if %ARCH% EQU 64 ( set EXTRA_ARGS="address-model=64" ) %PYTHON% -c "from __future__ import...
Add quotation mark to windows path
@echo off REM Reference: http://www.wilsonmar.com/1envvars.htm set home=%USERPROFILE% copy /Y .\dist\ctags_lang %home%\.ctags copy /Y .vimrc %home%\.vimrc copy /Y .vimrc.plugins %home%\.vimrc.plugins copy /Y .vimrc.local %home%\.vimrc.local copy /Y .vimrc.plugins.local %home%\.vimrc.plugins.local rmdir /S /Q %home%\...
@echo off REM Reference: http://www.wilsonmar.com/1envvars.htm set home=%USERPROFILE% copy /Y .\dist\ctags_lang "%home%\.ctags" copy /Y .vimrc "%home%\.vimrc" copy /Y .vimrc.plugins "%home%\.vimrc.plugins" copy /Y .vimrc.local "%home%\.vimrc.local" copy /Y .vimrc.plugins.local "%home%\.vimrc.plugins.local" rmdir /S ...
Install checks for a connection
:: Checks in which DB2 version the utility will be installed. :: DB2 v10.1 is the default version. if "%1" EQU "" goto v10.1 if /I "%1" EQU "-v10.1" goto v10.1 if /I "%1" EQU "-v9.7" goto v9.7 :: DB2 v10.1. :v10.1 db2 -tf Tables.sql db2 -tf Objects.sql db2 -td@ -f Tools.sql db2 -td@ -f AdminHeader.sql db2 -td@ -f Adm...
:: Checks if there is already a connection established db2 connect if %ERRORLEVEL% EQU 0 ( goto version ) else ( echo Please connect to a database before the execution of the installation. goto exit ) :version :: Checks in which DB2 version the utility will be installed. :: DB2 v10.1 is the default version. if "%1"...
Add batch file to autobuild spotify-json
cd lib\spotify-json git submodule update --init rmdir build32 /S /Q mkdir build32 cd build32 cmake .. -DBoost_NO_BOOST_CMAKE=TRUE ^ -DBOOST_ROOT=..\..\..\packages\boost.1.62.0.0\lib\native cmake --build . --config Debug cmake --build . --config Release cd ..\..\..
Use xcopy instead of cp
@echo off setlocal echo ==================== echo TWC -- Build Batch echo ==================== echo. set DEFINES= set CCFLAGS= /MT %DEFINES% /Gm- /WX /W4 /wd4201 /wd4100 /wd4189 /wd4505 /wd4706 /wd4996 /wd4127 /wd4244 /wd4200 /wd4204 set LIBS= libcurl.lib IF NOT EXIST build mkdir build pushd build ...
@echo off setlocal echo ==================== echo TWC -- Build Batch echo ==================== echo. set DEFINES= set CCFLAGS= /MT %DEFINES% /Gm- /WX /W4 /wd4201 /wd4100 /wd4189 /wd4505 /wd4706 /wd4996 /wd4127 /wd4244 /wd4200 /wd4204 set LIBS= libcurl.lib IF NOT EXIST build mkdir build pushd build ...
Reset GHC_PACKAGE_PATH varialbe (5th try).
@mkdir .shake 2> nul @set ghcArgs=--make ^ -Wall ^ src/Main.hs ^ -isrc ^ -rtsopts ^ -with-rtsopts=-I0 ^ -outputdir=.shake ^ -j ^ -O ...
@mkdir .shake 2> nul @set ghcArgs=--make ^ -Wall ^ src/Main.hs ^ -isrc ^ -rtsopts ^ -with-rtsopts=-I0 ^ -outputdir=.shake ^ -j ^ -O ...
Add a DOS .bat script to run CI build
set MSBUILD_EXE=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild cd 3rd-party\UnitTest++ %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=Debug /target:Clean %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=Release /target:Clean %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=Debug %MSBUI...
Change arrow to match original.
@echo off if not exist "%~dp0marks\*.mark" echo No marks exist.&&exit /b 1 for /f "delims=" %%f in ('dir /b "%~dp0marks\*.mark"') do (for /F "usebackq delims=" %%i in ("%~dp0marks\%%f") do echo %%~nf =^> %%i)
@echo off if not exist "%~dp0marks\*.mark" echo No marks exist.&&exit /b 1 for /f "delims=" %%f in ('dir /b "%~dp0marks\*.mark"') do (for /F "usebackq delims=" %%i in ("%~dp0marks\%%f") do echo %%~nf -^> %%i)
Stop script breaking on XP. Thanks to Chanshin Lee
@echo off setlocal Rem ----- set the current working dir as the PROJECT_HOME variable ---- call "%FORREST_HOME%\bin\setpwdvar.bat" set PROJECT_HOME="%PWD%" Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use --------------------------...
@echo off setlocal Rem ----- set the current working dir as the PROJECT_HOME variable ---- call "%FORREST_HOME%\bin\setpwdvar.bat" set PROJECT_HOME="%PWD%" Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use --------------------------...
Remove w9xopen.exe and add README.txt to Windows build
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 ..
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 release tool for windows
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 ..
Address Sysem isn't working for me in the REXX script on OS/2. Also the line endings were not being interpretted by CMD.EXE.
/* REXX script to get the svn revision and display it. */ Trace o fn = 'SVN.REV' Address System 'svnversion . | rxqueue > nul:' /* default version to 0, if svnversion doesn't exist or no .svn here */ ver = 0 If Queued() \= 0 Then Do /* Using PARSE PULL preserves case */ /* If it is a double value get the...
/* REXX script to get the svn revision and display it. */ Trace o fn = 'SVN.REV' 'svnversion . | rxqueue > nul:' /* default version to 0, if svnversion doesn't exist or no .svn here */ ver = 0 If Queued() \= 0 Then Do /* Using PARSE PULL preserves case */ /* If it is a double value get the first...
Update of script on dev branch
@echo off setlocal call before-branch.bat echo. echo. :: crate new feature branch locally echo Create new Feature branch locally SET /P feature_branch_name="Please enter the name of the feature branch: feature-" SET /P feature_version="Please enter the version of the feature:" git checkout -b feature-%feature_branch_...
@echo off setlocal call script\before-branch.bat echo. echo. :: crate new feature branch locally echo Create new Feature branch locally SET /P feature_branch_name="Please enter the name of the feature branch: feature-" SET /P feature_version="Please enter the version of the feature:" git checkout -b feature-%feature_...