conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "appveyor: Fix path to Cygwin build script\n" }, { "from": "human", "value": "mkdir c:\\projects\\plib-build\n\nif \"%APPVEYOR_REPO_BRANCH%\"==\"appveyor_test\" (\n set \"BOOST_ARGS=-DPLIB_TESTS_STATIC=ON -DBOOST_ROOT=C:\\Libraries\\boost_1_59_0\"\n)\n\nif \"%...
batchfile
chosen
[ { "from": "system", "value": "Add time information when running a single test\n\nSigned-off-by: Gavin Halliday <2edfa8aca9fb78974188e5b35be8b52d4e4967ae@lexisnexis.com>\n" }, { "from": "human", "value": "@echo off\nrem /*###########################################################################...
batchfile
chosen
[ { "from": "system", "value": "Update findstr search pattern for creating nupkgs\n\nThe old format won't work when current folder is sibling or is deeper than\nthe src folder.\n" }, { "from": "human", "value": "@ECHO OFF\nSET SUFFIX=%1\nIF '%SUFFIX%' == '' GOTO NOSUFFIX\nfor /f %%a in ('findstr /...
batchfile
chosen
[ { "from": "system", "value": "Update make script for documentation.\n" }, { "from": "human", "value": "@echo off\n\"%~dp0\\..\\Prerequisites\\Pandoc\\pandoc.exe\" --from markdown --to html5 --toc -N --standalone --self-contained -c \"%~dp0\\etc\\css\\github-pandoc.css\" --output \"%~dp0\\README....
batchfile
chosen
[ { "from": "system", "value": "[Scripts] Adjust path (I reinstalled Windows).\n" }, { "from": "human", "value": "inject.exe --run \"C:\\Users\\Joshua\\AppData\\Local\\MyComGames\\MyComGames.exe\" --inject --export Load --add-path --path-resolution --module cerberus.dll" }, { "from": "gpt"...
batchfile
chosen
[ { "from": "system", "value": "Remove commands from before install script\n" }, { "from": "human", "value": "REM Install Internet Information Server (IIS).\nc:\\Windows\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe -Command Import-Module -Name ServerManager\nc:\\Windows\\Sysnative\\WindowsP...
batchfile
chosen
[ { "from": "system", "value": "Use older version of node-gyp\n" }, { "from": "human", "value": "@rem Copyright 2018 gRPC authors.\n@rem\n@rem Licensed under the Apache License, Version 2.0 (the \"License\");\n@rem you may not use this file except in compliance with the License.\n@rem You may obta...
batchfile
chosen
[ { "from": "system", "value": "Python-pcl: Make some renames so that it can detect the libraries it needs\n" }, { "from": "human", "value": "set PKG_CONFIG_PATH=%LIBRARY_LIB%\\pkgconfig\n\npython setup.py config --compiler=msvc build --compiler=msvc install\nif errorlevel 1 exit 1\n" }, { ...
batchfile
chosen
[ { "from": "system", "value": "Win32: Disable compiling for Vista+ by default.\n" }, { "from": "human", "value": "@rem Open \"Visual Studio .NET Command Prompt\" to run this script\r\n\r\n@setlocal\r\n@set LUA=../../luajit-2.0\r\n@set LSCOMPILE=cl /nologo /c /LD /MD /O2 /W3 /D_CRT_SECURE_NO_DEPRE...
batchfile
chosen
[ { "from": "system", "value": "Update Unity install directory in build script" }, { "from": "human", "value": "cd /d %~dp0\r\n\r\nrem Check to make sure we've actually copied over at least something that could be the OSVR and Managed-OSVR binaries.\r\nif not exist OSVR-Unity\\Assets\\OSVRUnity\\P...
batchfile
chosen
[ { "from": "system", "value": "Use 7zip instead of zip.\n" }, { "from": "human", "value": "@echo off\n\nset SELF_PATH=%~dp0\ncall %SELF_PATH%\\env.bat\n\nset QTC_SOURCE=%cd%\\qtcreator-latest\\src\nset QTC_BUILD=%cd%\\qtcreator-latest\\compiled\n\nrmdir /s /q build\nmkdir build\n\ncd build\nlrele...
batchfile
chosen
[ { "from": "human", "value": "Add FFmpeg setup helper script\n" }, { "from": "gpt", "value": "@echo off\nsetlocal EnableDelayedExpansion\n\nREM This script automatically extracts the downloaded FFmpeg 7-zip archives and sets up the required folder structure\n\nSET version=ffmpeg-2.8.2\nSET platfo...
batchfile
chosen
[ { "from": "system", "value": "Test for install location of the Visual Studio files" }, { "from": "human", "value": "@set __e=%1\r\n@if \"%1\" == \"\" set __e=off\r\n@echo %__e%\r\nrem builder_custom_init\r\n\r\nset VC_VER=14.0\r\nset BUILDER_CFG_PLATFORM=Win64\r\nset BUILDER_CFG_BUILD_TYPE=Relea...
batchfile
chosen
[ { "from": "human", "value": "Add basic build and pack script\n" }, { "from": "gpt", "value": "SET MsBuildPath=C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\nSET NuGetExe=.nuget\\nuget.exe\n%MsBuildPath%\\MsBuild.exe build.proj\n\n.nuget\\NuGet.exe pack Caliburn.Metro\\Caliburn.Metro.nuspec...
batchfile
chosen
[ { "from": "system", "value": "Revert \"Removed for loop and used MOVE command with wildcards\"\n\nThis reverts commit d4e2e10962b2c4e05b9f54cef8d12e6e4cdff7f2.\n\nI am an idiot and glob commands / wildcards don't work in batch\nscripts. Thanks Microsoft.\n" }, { "from": "human", "value": "ECHO o...
batchfile
chosen
[ { "from": "system", "value": "Remove .lib artifact from pogo build\n" }, { "from": "human", "value": "::-------------------------------------------------------------------------------------------------------\r\n:: Copyright (C) Microsoft. All rights reserved.\r\n:: Licensed under the MIT license...
batchfile
chosen
[ { "from": "system", "value": "Include Code folder in releases\n" }, { "from": "human", "value": "@echo off\nsetlocal\n\nset ReleaseName=%3-%5-%4\n\nset ProjectPath=%6\nset ReleasePath=%6\\%1\nset WinRAR=c:\\Program Files\\WinRAR\\WinRAR.exe\n\nmkdir \"%ReleaseName%\"\nmkdir \"%ReleaseName%\\Scri...
batchfile
chosen
[ { "from": "system", "value": "Revert \"the integration package is not in the cli resource\"\n\nThis reverts commit a2fdfaa92f857fb85ddc98b3eebc7ced1047821a.\n" }, { "from": "human", "value": "SET GOPATH=%CD%\\gopath\nSET PATH=C:\\Go\\bin;C:\\Program Files\\Git\\cmd\\;%GOPATH%\\bin;%PATH%\n\ncd %...
batchfile
chosen
[ { "from": "system", "value": "Use windows variable syntax in windows...\n\n" }, { "from": "human", "value": "set CONDA_PREFIX=%PREFIX%\nif errorlevel 1 exit 1\n\ncmake -B build -S \"%SRC_DIR%\" ^\n\t-G Ninja ^\n -DCMAKE_BUILD_TYPE=Release\nif errorlevel 1 exit 1\n\ncmake --build build -j ${CP...
batchfile
chosen
[ { "from": "human", "value": "VIM: Add installation script for Vundle on Windows\n" }, { "from": "gpt", "value": "@echo off\nREM Note: do not try installing into the vim subdirectory here. Vundle overwrites the git repo!\nif not exist %USERPROFILE%\\vimfiles\\bundle mkdir %USERPROFILE%\\vimfiles\...
batchfile
chosen
[ { "from": "system", "value": "Build script should overwrite images automatically\n" }, { "from": "human", "value": "@echo off\nif not defined build_dir goto :missing_variables\n\ndel /s /q \"%build_dir%\\hehu_mf\\\"\nmkdir \"%build_dir%\\hehu_mf\\functions\"\n\npushd %tools_dir%\\binmake\n@echo ...
batchfile
chosen
[ { "from": "human", "value": "Add simple batch script to tag new releases and update properties" }, { "from": "gpt", "value": "@echo off\r\nSET CURDIR=%CD%\r\n\r\nSet /P version=Enter release version number (e.g. 1.2.3):\r\nIf \"%version%\"==\"\" goto :err\r\ngoto:noerr\r\n\r\n:err\r\necho No rel...
batchfile
chosen
[ { "from": "system", "value": "Add a helpful comment for folks unfamiliar with the SHIFT construct.\n\n* contrib/client-side/diff3wrap.bat\n\ngit-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@855345 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "@ECHO OFF\r\n\r\nREM Co...
batchfile
chosen
[ { "from": "system", "value": "Make Win x64 build work on versions of Windows earlier than Win7/2008R2" }, { "from": "human", "value": "\nREM perform 32-bit build \nif \"%1\" == \"clean\" rmdir /s /q build\nmkdir build\ncd build\ndel CMakeCache.txt\nrmdir /s /q build\\_CPack_Packages\ncmake -G\"M...
batchfile
chosen
[ { "from": "human", "value": "Add batch file to sign main executables\n\nAll future releases of UIforETW will have the two main executables\nsigned. This is particularly important since these two are run as\nadministrator.\n\nSHA1 signing is currently not used because it does not seem to add any\nvalue for t...
batchfile
chosen
[ { "from": "human", "value": "Add odb init for run script buttons.\n" }, { "from": "gpt", "value": "mkdir /Script\ncd /Script\n\ncreate STRING \"Restart DAQ\"\nset \"Restart DAQ\" \"/home/newg2/Applications/field-daq/online/bin/restart_daq.sh\n\"\ncreate STRING \"Restart Front-Ends\"\nset \"Resta...
batchfile
chosen
[ { "from": "system", "value": "Increase memory limit for standard installation" }, { "from": "human", "value": "cd /d %~dp0\njava -jar pathvisio.jar -p visplugins.jar %*\n" }, { "from": "gpt", "value": "cd /d %~dp0\njava -Xmx1024m -jar pathvisio.jar -p visplugins.jar %*\n" } ]
batchfile
chosen
[ { "from": "system", "value": "Clean both Release and Debug projects, to support\nthe MSI builder.\n" }, { "from": "human", "value": "@rem Used by the buildbot \"clean\" step.\ncall \"%VS71COMNTOOLS%vsvars32.bat\"\ncd PCbuild\n@echo Deleting .pyc/.pyo files ...\npython_d.exe rmpyc.py\ndevenv.com ...
batchfile
chosen
[ { "from": "human", "value": "Add script to copy shaders back from device.\n" }, { "from": "gpt", "value": ":: Retrieve data files from Android device using ADB\n:: Grab only the shaders/ directory, where edited shaders are stored.\n\necho off\n:: Guess the default installation location\nset ANDR...
batchfile
chosen
[ { "from": "system", "value": "Make FFTW3 work for windows\n\n\nFormer-commit-id: 3c55074b3421ec9ea51ee762e039ca5c64a16954" }, { "from": "human", "value": "exit 1" }, { "from": "gpt", "value": "IF \"%ARCH%\"==\"32\" (\n powershell -command \"& { iwr ftp://ftp.fftw.org/pub/fftw/fftw...
batchfile
chosen
[ { "from": "system", "value": "Add new line at end of file.\n" }, { "from": "human", "value": "@echo off\nSETLOCAL ENABLEDELAYEDEXPANSION\npushd %~dp0\\..\\Docs\necho Dumping AngelScript API...\n..\\Bin\\ScriptCompiler -dumpapi ScriptAPI.dox AngelScriptAPI.h\nif errorlevel 1 exit /B 1\npushd %~dp...
batchfile
chosen
[ { "from": "system", "value": "Use visual studio instead of msbuild\n\nSigned-off-by: Dave_Goddard <a5692579077bf98cb035292473fe12572309d028@pivotal.io>\n" }, { "from": "human", "value": ":: msbuild must be in path\nSET PATH=%PATH%;%WINDIR%\\Microsoft.NET\\Framework64\\v4.0.30319\nwhere msbuild\n...
batchfile
chosen
[ { "from": "system", "value": "Fix incorrect VS version bug\n" }, { "from": "human", "value": "mkdir build\ncd build\n\ncmake -G \"Visual Studio 16 2019\" ^\n\t-DCMAKE_BUILD_TYPE=Rel ^\n\t-DENABLE_TESTS=OFF ^\n\t-DNETCDF_PREFIX=\"%LIBRARY_PREFIX%\" ^\n\t-DHDF5_ROOT=\"%LIBRARY_PREFIX%\" ^\n\t-DGD...
batchfile
chosen
[ { "from": "system", "value": "Set git user.name and user.email\n" }, { "from": "human", "value": "\nIF \"%1\"==\"\" (\t\n\tGOTO HELL\n) ELSE (\n\tSET _TAG_=v%1\n)\n\nIF NOT \"%2\"==\"\" (\t\n\tSET _TAG_=%_TAG_%.%2\n)\n\ngit remote set-url origin https://%3:%4@github.com/wasteam/waslibs.git\ngi...
batchfile
chosen
[ { "from": "system", "value": "Fix position to current directory\n" }, { "from": "human", "value": "git clone https://github.com/SFML/SFML.git\ncd SFML\n\nmkdir install\nmkdir build\ncd build\n\ncmake .. -G \"Visual Studio 15 Win64\" -DCMAKE_INSTALL_PREFIX=../install -DSFML_DEPENDENCIES_INSTALL_P...
batchfile
chosen
[ { "from": "system", "value": "Change clcache size and set CLCACHE_NODIRECT\n" }, { "from": "human", "value": "@rem https://github.com/numba/numba/blob/master/buildscripts/incremental/setup_conda_environment.cmd\r\n@rem The cmd /C hack circumvents a regression where conda installs a conda.bat\r\n...
batchfile
chosen
[ { "from": "system", "value": "Update VS open command to work with VS2015\n" }, { "from": "human", "value": ":: Open the input file at the input line.\n::\n:: Bug: The line doesn't work\n::\n\n\"\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\devenv\" /Edit \"%1\" /Command \"Ed...
batchfile
chosen
[ { "from": "system", "value": "Build with Visual Studio 2015\n" }, { "from": "human", "value": "if not exist deps git clone -b master http://buildserver.urbackup.org/git/urbackup_deps deps\ncd deps\ngit reset --hard\ngit pull" }, { "from": "gpt", "value": "if not exist deps git clone ...
batchfile
chosen
[ { "from": "system", "value": "Fix fuer Windows basiertes Build-Skript\n" }, { "from": "human", "value": "copy Zusatz-Dateien\\LiesMich.txt dist\\LiesMich.txt\ncopy Zusatz-Dateien\\CV-Navi.sh dist\\CV-Navi.sh\n\ncopy Zusatz_Bibs\\rxtxSerial.dll dist\\rxtxSerial.dll\ncopy Zusatz_...
batchfile
chosen
[ { "from": "system", "value": "Add %JAVA_OPTS% to crawler, so some java options such as -Xmx can be adjusted by this variable." }, { "from": "human", "value": "@echo off\r\nSETLOCAL ENABLEDELAYEDEXPANSION\r\n\r\n:: Initialize system variables and check configuration\r\ncall \"%~dp0.etc\\init.cmd\...
batchfile
chosen
[ { "from": "human", "value": "Update RingLibUI - Add a batch file to build the library DLL file\n" }, { "from": "gpt", "value": "cls\ncall ../../language/src/locatevc.bat\ncl /c /DEBUG ring_libui.c -I \"..\\..\\extensions\\libdepwin\\libui\" -I\"..\\..\\language\\include\"\nlink /DEBUG ring_libui...
batchfile
chosen
[ { "from": "system", "value": "Use latest FAKE.Core 4.x version\n" }, { "from": "human", "value": "@echo off\ncls\n\nIF NOT EXIST \"build\\tools\\FAKE.Core\\tools\\Fake.exe\" (\n \"tools\\nuget\\nuget.exe\" install \"NUnit.Runners\" -OutputDirectory \"build\\tools\" -ExcludeVersion -Version 2.6....
batchfile
chosen
[ { "from": "human", "value": "Kill script: termintes openfin and node processes and clears openfin cache\n" }, { "from": "gpt", "value": "@echo off\n\ntaskkill/F /IM openfin.exe\ntaskkill /IM node.exe /F\n\ndel /q \"%localappdata%\\OpenFin\\cache\\*\"\nFOR /D %%p IN (\"%localappdata%\\OpenFin\\ca...
batchfile
chosen
[ { "from": "system", "value": "Make now includes Plato statistics\n" }, { "from": "human", "value": "cd make\nnode node_make.js debug\nnode node_make.js release\ncd ..\nif not exist ..\\ArnaudBuchholz.github.io goto end\ncopy build\\gpf.js ..\\ArnaudBuchholz.github.io\\\ncopy build\\gpf-debug.js ...
batchfile
chosen
[ { "from": "system", "value": "Use an if/else in the batch script\n" }, { "from": "human", "value": "\necho Current build setup CC=\"%CC%\" PLATFORM=\"%PLATFORM%\" TARGET=\"%TARGET%\"\n\nif %CC% == VC2019 call \"%ProgramFiles(x86)%\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\...
batchfile
chosen
[ { "from": "system", "value": "Update to tools for reportgenerator\n" }, { "from": "human", "value": "cd ..\nset \"destination=testcoverage\"\n\nrmdir /q /s %destination%\nmkdir %destination%\ncd content/tests\ndotnet test /p:AltCover=true\nmv coverage.xml ../../%destination%/coverage.xml\n\ncd ....
batchfile
chosen
[ { "from": "system", "value": "Test debug & release configs\n" }, { "from": "human", "value": "@echo off\npushd \"%~dp0\"\ncall build && dotnet test --no-restore --no-build NCrontab.Tests\npopd\n" }, { "from": "gpt", "value": "@echo off\npushd \"%~dp0\"\ncall build ^\n && call :test ...
batchfile
chosen
[ { "from": "human", "value": "Add release tool for windows\n" }, { "from": "gpt", "value": "PATH=C:\\python26;C:\\progra~2\\7-zip;%PATH%\r\ndel /q /s dist\\*.*\r\npython setup.py py2exe\r\ncd dist\r\n7z d library.zip jinja2\\* dns\\* 'graphy\\*\r\n7z a namebench_for_Windows.zip -r *\r\nnamebench ...
batchfile
chosen
[ { "from": "system", "value": "Update push script to push packages separately\n" }, { "from": "human", "value": ".nuget\\NuGet.exe push src\\DelegateDecompiler\\bin\\Release\\*.nupkg -ApiKey %1\r\n" }, { "from": "gpt", "value": "for /r %%x in (src\\DelegateDecompiler\\bin\\Release\\*....
batchfile
chosen
[ { "from": "system", "value": "Delete uwp app packages too!\n" }, { "from": "human", "value": "FOR /F \"tokens=*\" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q \"%%G\"\nFOR /F \"tokens=*\" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q \"%%G\"\nFOR /F \"tokens=*\" %%G IN ('DIR /B /AD /S node_modules'...
batchfile
chosen
[ { "from": "system", "value": "Remove wildcard from del statement\n" }, { "from": "human", "value": "rem Tool to assemble Windows builds\r\nrem Requirements are 7-zip, py2exe, and FreeExtractor\r\n\r\nPATH=C:\\python27;C:\\python26;C:\\progra~1\\7-zip;C:\\progra~2\\7-zip;%PATH%\r\n\r\nrem ****** ...
batchfile
chosen
[ { "from": "system", "value": "Clean out the PAHT env var to hopefully avoid more missing/extra dependencies" }, { "from": "human", "value": "@ECHO OFF \r\nPUSHD %~DP0\r\nSET CURDIR=%CD%\r\nPUSHD ..\r\nSET TOPDIR=%CD%\r\nPOPD\r\nPOPD\r\n\r\nSET GDAL_ROOT=%TOPDIR%\\bin\\gdal\r\nrem SET GDAL_PAM_PR...
batchfile
chosen
[ { "from": "human", "value": "Add equivalent script for Windows execute/test\n\nBug: 174267320\nChange-Id: Ie3ca4521418c9a7a653a20cd55b2f904524bf616\n" }, { "from": "gpt", "value": "rem CI script\n\nrem Install Bazel using Choco\necho \"Installing/updating bazel\"\nchoco install bazel -y\n\nrem U...
batchfile
chosen
[ { "from": "system", "value": "Add /FORCE:MULTIPLE to Windows linker flags\n\n" }, { "from": "human", "value": "set CONDA_PREFIX=%PREFIX%\nif errorlevel 1 exit 1\n\ncmake -B build -S \"%SRC_DIR%\" ^\n\t-G Ninja ^\n -DCMAKE_BUILD_TYPE=Release ^\n -DPython3_FIND_STRATEGY=LOCATION ^\n -DPyt...
batchfile
chosen
[ { "from": "system", "value": "Make sure the package is created in the bin folder.\n" }, { "from": "human", "value": "@echo off\nsetlocal\n\nset _projectName=CommandLine\nset _solution=%_projectName%.sln\nset _codeProject=src\\%_projectName%.csproj\nset _analyzerProject=analyzer\\%_projectName%.A...
batchfile
chosen
[ { "from": "system", "value": "Clean script can simply delegate to build script\n" }, { "from": "human", "value": "@echo off\npushd \"%~dp0\"\nfor %%i in (Debug Release) do \"%SystemRoot%\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild\" /target:Clean /p:Configuration=%%i src\\NCrontab.sln\npopd\n...
batchfile
chosen
[ { "from": "system", "value": "Stop using debug flag for Windows build\n" }, { "from": "human", "value": "SET \"JAVA_HOME=C:\\opt\\jdk-8\"\ncd git-repo\n./mvnw clean install -X" }, { "from": "gpt", "value": "SET \"JAVA_HOME=C:\\opt\\jdk-8\"\ncd git-repo\n./mvnw clean install" } ]
batchfile
chosen
[ { "from": "system", "value": "Build script now logs to console\n" }, { "from": "human", "value": "@echo on\n\nset config=%1\nif \"%config%\" == \"\" (\n set config=Release\n)\n\nset version=1.0.0\nif not \"%PackageVersion%\" == \"\" (\n set version=%PackageVersion%\n)\nif not \"%GitVersion...
batchfile
chosen
[ { "from": "system", "value": "Use myget feed to download KoreBuild package" }, { "from": "human", "value": "@echo off\ncd %~dp0\n\nSETLOCAL ENABLEEXTENSIONS\nSET CACHED_NUGET=%LocalAppData%\\NuGet\\NuGet.exe\n\nIF EXIST %CACHED_NUGET% goto copynuget\necho Downloading latest version of NuGet.exe....
batchfile
chosen
[ { "from": "system", "value": "Remove 'Preview' qualifier from VS and MSBuild\n\nFirstly, they don't add much and secondly, we'll have to remove them\neventually anyways.\n" }, { "from": "human", "value": "@ECHO OFF\n\nSETLOCAL\n\nSET CACHED_NUGET=%LocalAppData%\\NuGet\\NuGet.exe\nSET SOLUTION_PA...
batchfile
chosen
[ { "from": "system", "value": "Remove the vs version flag.\n" }, { "from": "human", "value": "@echo Off\nset config=%1\nif \"%config%\" == \"\" (\n set config=debug\n)\n\n.nuget\\NuGet.exe restore JabbR.sln -configFile %~dp0\\.nuget\\NuGet.config -nocache\nmsbuild %~dp0\\Build\\Build.proj /p:Co...
batchfile
chosen
[ { "from": "system", "value": "Remove w9xopen.exe and add README.txt to Windows build" }, { "from": "human", "value": "PATH=C:\\python26;C:\\progra~2\\7-zip;%PATH%\r\ndel /q /s dist\\*.*\r\npython setup.py py2exe\r\ncd dist\r\n7z d library.zip jinja2\\* dns\\* 'graphy\\*\r\n7z a namebench_for_Win...
batchfile
chosen
[ { "from": "system", "value": "[nunit] Set nuget version to use as 2.6.4\n" }, { "from": "human", "value": "@echo off\nNuGet.exe install MSBuildTasks -OutputDirectory .\\Tools\\ -ExcludeVersion -NonInteractive\nNuGet.exe install NUnit.Runners -OutputDirectory .\\Tools\\ -ExcludeVersion -NonIntera...
batchfile
chosen
[ { "from": "system", "value": "Remove xcopy from Npcap install script\n" }, { "from": "human", "value": "set NPCAP_OEM_FILE=npcap-0.9988-oem.exe\ncurl --digest --user %NPCAP_USERNAME%:%NPCAP_PASSWORD% https://nmap.org/npcap/oem/dist/%NPCAP_OEM_FILE% --output %NPCAP_OEM_FILE%\n%NPCAP_OEM_FILE% /S ...
batchfile
chosen
[ { "from": "human", "value": "Add boot script source for lcd43 system\n" }, { "from": "gpt", "value": "setenv bootargs \"console=ttyO2,115200n8 mpurate=500 vram=12M omapdss.def_disp=lcd43 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait\"\nsetenv loadaddr 0x82000000\nfatload mmc 0 ${loadaddr} uIma...
batchfile
chosen
[ { "from": "human", "value": "Add Windows version of script\n\n" }, { "from": "gpt", "value": "@ECHO OFF\n\nREM\nREM Converts the Reach KBs into the format expected by BioNLPProcessor\nREM Re-run this script whenever a Reach KB changes\nREM To avoid rugenerating *all* KBs edit the ner_kb.config f...
batchfile
chosen
[ { "from": "human", "value": "Add script to set folder options\n" }, { "from": "gpt", "value": "<!-- :\n@setlocal EnableDelayedExpansion EnableExtensions\n@for %%i in (%~dp0\\_packer_config*.cmd) do @call \"%%~i\"\n@if defined PACKER_DEBUG (@echo on) else (@echo off)\n\ntitle Setting folder optio...
batchfile
chosen
[ { "from": "system", "value": "Build shared library on Windows\n" }, { "from": "human", "value": "setlocal EnableDelayedExpansion\n\nmkdir build\ncd build\n\ncmake -G \"NMake Makefiles\" ^\n -DCMAKE_INSTALL_PREFIX:PATH=\"%LIBRARY_PREFIX%\" ^\n -DCMAKE_PREFIX_PATH:PATH=\"%LIBRARY_PREFIX%...
batchfile
chosen
[ { "from": "system", "value": "Update kuduscript to latest for adding python support\n" }, { "from": "human", "value": "@echo off\nsetlocal enabledelayedexpansion \n\npushd %1\n\nset attempts=5\nset counter=0\n\n:retry\nset /a counter+=1\necho Attempt %counter% out of %attempts%\n\ncmd /c npm ins...
batchfile
chosen
[ { "from": "system", "value": "Fix path to install cygwin.\n" }, { "from": "human", "value": ":: %~dp0 gives the dirname of the script\n\ncmd /c %~dp0firewall-disable.bat\ncmd /c %~dp0vagrant-ssh.bat\n\n" }, { "from": "gpt", "value": ":: %~dp0 gives the dirname of the script\n\ncmd /c...
batchfile
chosen
[ { "from": "system", "value": "Fix build script to also work when nuget.exe isn't in the path\n" }, { "from": "human", "value": "@ECHO OFF\n\nWHERE /Q nuget >NUL\nIF %ERRORLEVEL% NEQ 0 ( \n ECHO nuget not found.\n ECHO.\n ECHO Run \"%~pd0download-nuget.cmd\" to download the latest versio...
batchfile
chosen
[ { "from": "system", "value": "Remove w9xopen.exe and add README.txt to Windows build\n" }, { "from": "human", "value": "PATH=C:\\python26;C:\\progra~2\\7-zip;%PATH%\r\ndel /q /s dist\\*.*\r\npython setup.py py2exe\r\ncd dist\r\n7z d library.zip jinja2\\* dns\\* 'graphy\\*\r\n7z a namebench_for_W...
batchfile
chosen
[ { "from": "system", "value": "Fix lavapipe JSON patcher. Fixes 0a775146\n" }, { "from": "human", "value": "@setlocal ENABLEDELAYEDEXPANSION\n@set jsonlines=0\n@for /R %devroot%\\%projectname%\\bin\\%abi%\\ %%a IN (lvp_icd.*.json) do @for /f tokens^=^*^ delims^= %%b IN (%%a) do @(\n@set /a jsonli...
batchfile
chosen
[ { "from": "system", "value": "Add period to the signed name.\n" }, { "from": "human", "value": "@echo off\r\nrem To sign the Windows installer, set the `SIGN_WINDOWS_INSTALLER=true` environment variable.\r\nrem This will download the Kolibri Windows installer artifact at the windows-2016 Buildki...
batchfile
chosen
[ { "from": "system", "value": "Remove unnecessary cmake flag INSTALL_DIR\n" }, { "from": "human", "value": "mkdir build\ncd build\n\nREM TODO: can not find tkint.h -> disabling GUI for WIN \n\ncmake .. -G \"Ninja\" ^\n -DCMAKE_BUILD_TYPE=\"Release\" ^\n -DINSTALL_DIR_LAYOUT=\"Unix\" ^\n ...
batchfile
chosen
[ { "from": "system", "value": "Remove compressed pointer flag for now.\n" }, { "from": "human", "value": "FOR /F \"tokens=*\" %%G IN ('DIR /B /AD /S org.*') DO RMDIR /S /Q %%G\r\njava -ea -Dosgi.classloader.singleThreadLoads=true -XX:+UseCompressedOops -XX:+CMSClassUnloadingEnabled -XX:+UseParall...
batchfile
chosen
[ { "from": "system", "value": "Use Java 17 for Windows CI build\n\nSee gh-28101\n" }, { "from": "human", "value": "SET \"JAVA_HOME=C:\\opt\\jdk-8\"\nSET PATH=%PATH%;C:\\Program Files\\Git\\usr\\bin\ncd git-repo\n.\\gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --m...
batchfile
chosen
[ { "from": "system", "value": "Fix initdb under windows server 2016\n" }, { "from": "human", "value": "@ECHO OFF\nIF %1.==. GOTO No1\nset CONFIG=%1\n\nREM set debug parameters\nREM set DEBUG_OPTS=\"-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y\"\n\n@powershell -Command \"j...
batchfile
chosen
[ { "from": "system", "value": "Add -j1 to windows launch script\n\n(SkipBuildbotRuns)\n\nReview URL: https://codereview.chromium.org/23054003\n\ngit-svn-id: 32fc27f4dcfb6c0385cd9719852b95fe6680452d@10698 2bbb7eff-a529-9590-31e7-b0007b416f81\n" }, { "from": "human", "value": "cd C:\\Users\\chrome-...
batchfile
chosen
[ { "from": "system", "value": "AppVeyor: Fix build for Python 3.5\n" }, { "from": "human", "value": ":: Author: Lisandro Dalcin\n:: Contact: dalcinl@gmail.com\n:: Credits: Olivier Grisel and Kyle Kastner\n@ECHO OFF\n\nSET COMMAND_TO_RUN=%*\n\nSET WIN_SDK_ROOT=C:\\Program Files\\Microsoft SDKs\\W...
batchfile
chosen
[ { "from": "system", "value": "Add python2.7\\Scripts to PATH on Win\n" }, { "from": "human", "value": "@echo off\r\nsetlocal\r\nset mypath=%~dp0\r\nset PATH=%mypath%\\python2.7;%PATH%\r\nset PYTHONPATH=%mypath%\\lib\r\nset OQ_SITE_CFG_PATH=%mypath%\\openquake.cfg\r\n\r\ndoskey oq=python.exe -m o...
batchfile
chosen
[ { "from": "system", "value": "Fix BuildForPublishcation.cmd\nApparently the paths in nuget.config are relative to the *current* directory...\n" }, { "from": "human", "value": "@echo off\nsetlocal\ncall NightlyBuild.cmd\nset PackageDir=%~dp0LocalPackages\ncall dnu restore dnx\\src\\Microsoft.DotN...
batchfile
chosen
[ { "from": "system", "value": "Update Clang/C2 batch file with new toolchain name\n" }, { "from": "human", "value": "@echo off\n\ncmake -G \"Visual Studio 14 2015 Win64\" %\"Set the generator to Visual Studio 2015 x64\"% ^\n -T \"v140_clang_3_7\" %\"Set the compiler toolchain ...
batchfile
chosen
[ { "from": "system", "value": "Fix accidental incorrect quoting in test script (changeset 1235391)\n" }, { "from": "human", "value": "rem @if \"%_echo%\"==\"\" echo off\n\nsetlocal\n\ncall %~d0%~p0\\..\\..\\..\\config.bat\n\nif EXIST magic.dll del magic.dll\nif errorlevel 1 goto :Error\n\n\"%FSC%...
batchfile
chosen
[ { "from": "system", "value": "Delete the nuget packages from the packaging directory BEFORE the script starts to avoid madness\n" }, { "from": "human", "value": "@echo off\npushd %~dp0\nif not exist ..\\..\\nuget.exe (\n powershell -Command \"Invoke-WebRequest https://dist.nuget.org/win-x86-c...
batchfile
chosen
[ { "from": "system", "value": "Update nuget publish cmd file for latest version.\n" }, { "from": "human", "value": "@echo off\necho Press any key to publish\npause\n\".nuget\\NuGet.exe\" push Rssdp.1.0.0.7.nupkg\npause" }, { "from": "gpt", "value": "@echo off\necho Press any key to pu...
batchfile
chosen
[ { "from": "system", "value": "Use string redirection in Windows service\n\n+ Localisation support\n" }, { "from": "human", "value": "rem Alter this if you need to install multiple instances.\r\n@echo off\r\nset SERVICENAME=\"Cuberite\"\r\n\r\nset CURRENTDIR=%CD%\r\nsc create %SERVICENAME% binPat...
batchfile
chosen
[ { "from": "system", "value": "Add GATSPATH to beginning of PATH.\n\n- Ensure that the correct cf version is being used.\n" }, { "from": "human", "value": "DEL c:\\Users\\Administrator\\go\\src\\github.com\\pivotal-cf-experimental\\GATS\\cf.exe\nbitsadmin.exe /transfer \"DownloadStableCLI\" https...
batchfile
chosen
[ { "from": "system", "value": "Check that Docker is installed on Windows\n\nSigned-off-by: Robert Breker <bfcd7039ca4b92386f0756a1d5e67ea4ff23cfe0@citrix.com>\n" }, { "from": "human", "value": "@echo off\nnet session >nul 2>&1\nif %errorLevel% NEQ 0 (\n echo Please run this script with Adminis...
batchfile
chosen
[ { "from": "system", "value": "Set configuration to the one bundled\n" }, { "from": "human", "value": ":: Establish an environment for Mindbender applications\n\n@echo off\n\nset PYBLISH_BASE=%~dp0git\\pyblish-base\nset PYBLISH_MAYA=%~dp0git\\pyblish-maya\nset PYBLISH_NUKE=%~dp0git\\pyblish-nuke\...
batchfile
chosen
[ { "from": "system", "value": "Test with /TP instead of /TC to check for C++ warnings.\n" }, { "from": "human", "value": "@ECHO OFF\n\nset target=amd64\nset MSVC=%USERPROFILE%\\cmsc\\msvc\\bin\\%target%\nset libs=/LIBPATH:\"%MSVC%\\..\\..\\lib\\%target%\"\nset include=/I\"%MSVC%\\..\\..\\include\...
batchfile
chosen
[ { "from": "system", "value": "Add some more debugging prints in the AppVeyor test script, to investigate an error when running CMake.\n" }, { "from": "human", "value": "\necho on\n\necho Postsubmit.bat started.\n\nif exist %VCVARSALL_SCRIPT% (\n echo Running VCVARSALL script: %VCVARSALL_SCRIPT%...
batchfile
chosen
[ { "from": "system", "value": "Update new version of kuduscript where the generator wont generate iisnode.yml file\n" }, { "from": "human", "value": "@echo off\nsetlocal enabledelayedexpansion \n\npushd %1\n\nset attempts=5\nset counter=0\n\n:retry\nset /a counter+=1\necho Attempt %counter% out o...
batchfile
chosen
[ { "from": "system", "value": "Change install command in windows script\n" }, { "from": "human", "value": "\"%PYTHON%\" setup.py install \nif errorlevel 1 exit 1\n\n:: Add more build steps here, if they are necessary.\n\n:: See\n:: http://docs.continuum.io/conda/build.html\n:: for a list of envir...
batchfile
chosen
[ { "from": "system", "value": "Change build script after moving DMLib to VS2017\n" }, { "from": "human", "value": "echo off\n\nset BuildMode=Debug\nif not {%1} == {} (\n set BuildMode=%1\n)\n\nset OriginalPath=%cd%\nset TestPath=%~dp0..\\test\n\"%ProgramFiles(x86)%\\MSBuild\\14.0\\Bin\\msbuild...
batchfile
chosen
[ { "from": "system", "value": "Make sure exit code is 0 when successful.\n" }, { "from": "human", "value": "@echo off\n\npushd %1\n\nset attempts=5\nset counter=0\n\n:retry\nset /a counter+=1\necho Attempt %counter% out of %attempts%\n\nif exist %1\\node_modules\\azure-cli\\bin\\azure (\n cmd /c...
batchfile
chosen
[ { "from": "system", "value": "Add a singed name at the filename of the installer, after it was successfully signed.\n" }, { "from": "human", "value": "@echo off\r\nrem This will download the Kolibri windows installer artifact at the windows-2016 buildkite agent.\r\nrem After the installer succes...
batchfile
chosen
[ { "from": "system", "value": "Remove -race from windows units temporarily\n\nBecause of https://github.com/golang/go/issues/27089, passing \"-race\" to\nginkgo causes the windows build to fail. We are simply removing this\nflag until the golang issue is resolved. (Units on other operating\nsystems still che...
batchfile
chosen
[ { "from": "system", "value": "Install the base-devel meta package on setup\n" }, { "from": "human", "value": "if not exist \"C:\\Windows\\Temp\\msys2.exe\" (\npowershell -Command \"(New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe', 'C...
batchfile
chosen
[ { "from": "system", "value": "Use upgrade command with choco on Windows\n\n`choco upgrade` will do `install` if the package is missing." }, { "from": "human", "value": "REM Installing Chocolatey\n@powershell -NoProfile -ExecutionPolicy unrestricted -Command \"iex ((new-object net.webclient).Down...
batchfile
chosen