conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Improve Windows .bat launcher: waits for close, no console\n" }, { "from": "human", "value": "@echo off\n\nstart /min java -jar %~dp0SuperTMXMerge.jar %*\n" }, { "from": "gpt", "value": "@echo off\n\nstart /b /wait java -jar %~dp0SuperTMXMerge.jar %*\n" ...
batchfile
chosen
[ { "from": "system", "value": "Comment out removing stuff for now.\n" }, { "from": "human", "value": "SET PATH=C:\\Qt\\5.5\\mingw492_32\\bin;%PATH%\nSET PATH=C:\\Qt\\Tools\\mingw492_32\\bin;%PATH%\nqmake.exe -makefile -win32 FLViz.pro\nmingw32-make.exe clean\nmingw32-make.exe mocclean\nmingw32-ma...
batchfile
chosen
[ { "from": "system", "value": "openblas: Use the same arguments on Windows.\n" }, { "from": "human", "value": "\n:: Set $HOME to the current dir so msys runs here\nset HOME=%cd%\n\n:: Configure, build, test, and install using `nmake`.\nbash -lc \"make\"\nif errorlevel 1 exit 1\nbash -lc \"make PR...
batchfile
chosen
[ { "from": "system", "value": "Fix script path in win\n" }, { "from": "human", "value": "python %RECIPE_DIR%\\download-chromedriver \nif errorlevel 1 exit 1\n\n7z x chromedriver.zip -ochromedriver\nif errorlevel 1 exit 1\n\nREM Add chromedriver to PATH so chromedriver_binary install can find it\n...
batchfile
chosen
[ { "from": "system", "value": "Move to Ruby 2.0 on windows.\n" }, { "from": "human", "value": "@ECHO OFF\nset GO_ROOT=%~dp0\\..\\..\\..\nset JRUBY_BASE=%GO_ROOT%\\tools\\jruby\nset SERVER_ROOT=%GO_ROOT%\\server\nset RAILS_ROOT=%SERVER_ROOT%\\webapp\\WEB-INF\\rails.new\nset GEM_HOME=%RAILS_ROOT%\\...
batchfile
chosen
[ { "from": "system", "value": "Fix typo in bintray upload script\n" }, { "from": "human", "value": "@echo off\nsetlocal EnableDelayedExpansion\n\nREM Uploading all modules at once (with one gradle command) does not work any more, so a separate command for each module must be issued\n\nSET usernam...
batchfile
chosen
[ { "from": "system", "value": "Set Java path for BMC\n" }, { "from": "human", "value": "@set PATH=\"%PATH%;C:\\Program Files\\Java\\jdk1.8.0_66\\bin\"\n@c:\\Windows\\system32\\cmd.exe /c %USERPROFILE%\\Desktop\\sh.exe -l\n" }, { "from": "gpt", "value": "@set PATH=\"%PATH%;C:\\Program ...
batchfile
chosen
[ { "from": "system", "value": "Add --run-e2e-tests option to the script ran by Jenkins\n" }, { "from": "human", "value": "@REM Copyright (c) Microsoft. All rights reserved.\n@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nsetlocal\n\nset ...
batchfile
chosen
[ { "from": "system", "value": "Allow number to be passed in to distribution build\n\nThe build number is no longer automatically applied from source\ncontrol revision, so for release candidates it can be passed in as\nappropriate. The values used will follow the CI build numbers.\n" }, { "from": "hum...
batchfile
chosen
[ { "from": "system", "value": "Update windows proto generation script to resemble the linux script more closely\n" }, { "from": "human", "value": "@echo off\n\nset PROTODIR=D:\\GitHub\\SteamKit\\Resources\\Protobufs\nset PROTOBUFS=base_gcmessages gcsdk_gcmessages dota_gcmessages_client\n\nfor %%X...
batchfile
chosen
[ { "from": "system", "value": "Remove unnecessary uses of \"%~1\"\n" }, { "from": "human", "value": "@echo off\nsetlocal\n\nset \"output=nul\"\nset \"times=1\"\n\ngoto :parsePackage\n\n:help\n\n:: TODO: put something here.\n\ngoto :eof\n\n:usage\n\ncall :help 1>&2\nexit /b 1\n\n:parsePackage\n\ni...
batchfile
chosen
[ { "from": "system", "value": "Make native tests fail the build\n" }, { "from": "human", "value": "@echo off\nsetlocal EnableDelayedExpansion\necho Test discovery started...\ndir C:\\projects\\spectre\\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt\n\necho Testing (Google Test)...\n\nset fai...
batchfile
chosen
[ { "from": "system", "value": "Replace absolute path to python with \\%PYTHONHOME\\%.\n" }, { "from": "human", "value": "@echo off\nREM Make sure to use 32 bit python for this so it runs on all machines\nC:\\Utils\\Python\\Python32-34\\python ./BuildPrjExeSetup.py py2exe\nC:\\Utils\\Python\\Pytho...
batchfile
chosen
[ { "from": "system", "value": "Revert test code in buidpackpush.bat\n" }, { "from": "human", "value": "SETLOCAL\nSET VERSION=%1\nCALL Scripts\\buildpack %VERSION% || exit /B 1\nECHO this should not happen\nexit /B 1\nnuget push .\\Artifacts\\Mapsui.%VERSION%.nupkg -source nuget.org || exit /B 1\n...
batchfile
chosen
[ { "from": "system", "value": "Update header for new member\n" }, { "from": "human", "value": "### application.bat - 2015 - HURTAUD ###\n\nversion =\"2\"\nbuild_hour =\"11H00\"\n\necho \"version${version}\";\necho \"Copyright company - 2015\";\necho \"Buil${build_hour\";\npause;" }, { "fr...
batchfile
chosen
[ { "from": "system", "value": "Fix a build issue with Vista. Stop cp.exe from trying to emulate POSIX security\non top of NTFS.\n\nBUG=1157117\n\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@40 0039d316-1c4b-4281-b951-d872f2087c98\n" }, { "from": "human", "value": "@echo off\n\nsetlocal...
batchfile
chosen
[ { "from": "system", "value": "Add TITSEQ to overlay exporting.\n" }, { "from": "human", "value": "rem slink /psx /c /p /rmips=GAME/SETUP.REL @GAME/SETUP.LNK,GAME/SETUP.BIN\nrem slink /psx /c /p /rmips=GAME/ANDY3.REL @GAME/ANDY3.LNK,GAME/ANDY3.BIN\nrem slink /psx /c /p /rmips=GAME/JOBY5.REL @GAME...
batchfile
chosen
[ { "from": "system", "value": "Add email composer plugin in .bat file" }, { "from": "human", "value": "::\n:: Create output (Cordova) directory\n::\nmkdir www\n\n::\n:: Install client libraries\n::\nbower install\n\n::\n:: Add target platform\n::\n:: Comment out the platform(s) your system suppor...
batchfile
chosen
[ { "from": "system", "value": "Clean the release directory after doing a static build.\n" }, { "from": "human", "value": "@rem Copyright 2015 Google Inc. All Rights Reserved.\r\n@rem\r\n@rem Licensed under the Apache License, Version 2.0 (the \"License\");\r\n@rem you may not use this file except...
batchfile
chosen
[ { "from": "system", "value": "Print out buildlog.txt to console\n" }, { "from": "human", "value": "@echo off\r\n@echo ...\r\n@echo Running reference documentation Build Script, capturing output to buildlog.txt ...\r\n@echo Start Time: %time%\r\n..\\..\\build-support\\tools\\nant\\bin\\nant %1 %2...
batchfile
chosen
[ { "from": "system", "value": "Add comment and delete temporary file after use.\n\n--HG--\nextra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%40391\n" }, { "from": "human", "value": "@echo off\npy25 setup.py --long-description | py25 web\\rst2html.py --link-stylesheet --s...
batchfile
chosen
[ { "from": "system", "value": "Fix relative dir typo in xcopy pyparsing.py command" }, { "from": "human", "value": "xcopy /y .\\sourceforge\\svn\\trunk\\src\\pyparsing.py .\r\nc:\\python27\\python c:\\python27\\scripts\\epydoc -v --name pyparsing -o htmldoc --inheritance listed --no-private pypar...
batchfile
chosen
[ { "from": "system", "value": "Fix for release script error when there is space in directory path.\n" }, { "from": "human", "value": "# Verify release\nSET CURRENT_DIRECTORY=%cd%\n\ncall scripts\\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\\cpp 32 STATIC || exit /b 1\n\ncall scripts\\v...
batchfile
chosen
[ { "from": "system", "value": "Add vioinput to the top-level build script\n" }, { "from": "human", "value": "cd VirtIO\ncall buildall.bat\ncd ..\n\ncd NetKVM\ncall buildall.bat\ncd ..\n\ncd viostor\ncall buildall.bat\ncd ..\n\ncd vioscsi\ncall buildall.bat\ncd ..\n\ncd Balloon\ncall buildall.bat\...
batchfile
chosen
[ { "from": "system", "value": "Use absolute path to setup.py-installed entry point\n" }, { "from": "human", "value": "rem Won't be found because there are no shebang lines on Windows\n\nrem python test-script-setup.py\nrem if errorlevel 1 exit 1\nrem python test-script-setup.py | grep \"Test scri...
batchfile
chosen
[ { "from": "system", "value": "Exclude README.md file from package\n" }, { "from": "human", "value": "@echo off\n\nset zipcmd=%~dp0\\tools\\7z\\7z.exe\n\npushd %~dp0\\..\\..\n%zipcmd% a -r -x!scripts -xr!.* -x!__pycache__ blenderseed-x.x.x-yyyy.zip blenderseed\npopd\n\nmove ..\\..\\blenderseed-x....
batchfile
chosen
[ { "from": "system", "value": "Make script independent of NUnit version\n" }, { "from": "human", "value": "@pushd %~dp0\r\n\r\nECHO Remember to build the solution first!\r\nREM pause\r\n\r\n\"%~dp0\\TestHarness\\packages\\NUnit.Runners.2.6.3\\tools\\nunit-console.exe\" \"%~dp0\\TestHarness\\nunit...
batchfile
chosen
[ { "from": "system", "value": "Add missing \"if errorlevel 1 exit 1\" lines\n" }, { "from": "human", "value": "rem Won't be found because there are no shebang lines on Windows\n\nrem python test-script-setup.py\nrem if errorlevel 1 exit 1\nrem python test-script-setup.py | grep \"Test script setu...
batchfile
chosen
[ { "from": "human", "value": "Add batch script to remove a git submodule from a local workspace\n" }, { "from": "gpt", "value": "@rem This is a simple batch script to remove a submodule reference from a \n@rem working directory\n@rem Call the script by\n@rem 1) cd path\\to\\your\\workspace\n@rem ...
batchfile
chosen
[ { "from": "system", "value": "Make sure DB exists and is aligned before running the server\n" }, { "from": "human", "value": "@echo off\r\nsetlocal\r\nset mypath=%~dp0\r\nset PYTHONPATH=pkgs\r\nif \"%PROCESSOR_ARCHITECTURE%\"==\"x86\" (\r\n set common=\"%COMMONPROGRAMFILES%\"\r\n) else (\r\n ...
batchfile
chosen
[ { "from": "human", "value": "Revert \"Now processing a template to produce a valid submit file.\"\n\nThis reverts commit 0a94e71ec6ca595e841c31497158a52f64c93444.\n" }, { "from": "gpt", "value": "universe = vanilla\nexecutable = ./x_job_filexfer_testjob.pl\nlog = job_filexfer_input-onegone_van...
batchfile
chosen
[ { "from": "system", "value": "Add Instructions on Downloading Mingw 64bit for Building memdb\n" }, { "from": "human", "value": "@echo off\n\nset GOARCH=%1\nIF \"%1\" == \"\" (set GOARCH=amd64)\nset ORG_PATH=github.com\\hashicorp\nset REPO_PATH=%ORG_PATH%\\consul\n\nset GOPATH=%cd%\\gopath\n\nrmd...
batchfile
chosen
[ { "from": "system", "value": "Use the correct path for makevars.\n" }, { "from": "human", "value": "sed -i 's/gnu/msvc/' changeforest-r/src/Makevars.win\nsed -i '1s/^/export CXX_STD=CXX11\\n/' Makevars.win\nsed -i '1s/^/export PKG_CXXFLAGS=$(CXX_VISIBILITY)\\n/' Makevars.win\n\"%R%\" CMD INSTALL...
batchfile
chosen
[ { "from": "system", "value": "Use Windows CLASSPATH environment variable\n\nAdded a check to see if CLASSPATH environment variable is set. If yes, then add the classpath variable to the java command classpath option" }, { "from": "human", "value": "@REM\n@REM Copyright 2010-2017 Boxfuse GmbH\n@R...
batchfile
chosen
[ { "from": "human", "value": "Add script to disable intel context menu\n" }, { "from": "gpt", "value": "@echo off\n\nsetlocal EnableDelayedExpansion\n\nset registryRoot=HKCU\\Software\\Classes\nset key=igfxcui\n\nreg add \"%registryRoot%\\Directory\\Background\\shellex\\ContextMenuHandlers\\%key%...
batchfile
chosen
[ { "from": "human", "value": "Add build script for installation\n" }, { "from": "gpt", "value": "#!/bin/bash\nPATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n\nEXEC_DIR=\"/usr/local/bin\" # set to anywhere seen by $PATH\nCONF_DIR=\"/etc/distribute...
batchfile
chosen
[ { "from": "system", "value": "Change the executable from main to firstify" }, { "from": "human", "value": "@echo off\r\nif not \"%1\" == \"\" goto continue\r\n\r\nif not exist imaginary\\obj mkdir imaginary\\obj\r\nfor %%i in (imaginary\\*.yca) do call %0 %%~ni\r\ngoto end\r\n\r\n\r\n:continue\r...
batchfile
chosen
[ { "from": "system", "value": "Return error level from batch file.\n" }, { "from": "human", "value": "@echo off\npushd %~dp0\ndotnet publish tools\\Build\\Build.csproj --output tools\\bin\\Build --nologo --verbosity quiet\nif %errorlevel% equ 0 dotnet tools\\bin\\Build\\Build.dll %*\npopd\n" },...
batchfile
chosen
[ { "from": "system", "value": "[.net] Update to visual studio 2015\n" }, { "from": "human", "value": "@echo off\n\nif \"%~1\"==\"\" ( \n call :Usage\n goto :EOF\n)\n\ncall bootstrap.cmd\n\npushd \"%~dp0\"\nsetlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION\n\nset ProgramFilesDir=%ProgramFiles%\nif ...
batchfile
chosen
[ { "from": "system", "value": "Speed up NuGet binary download\n" }, { "from": "human", "value": "@echo off\ncls\n\nSET BUILD_DIR=%~dp0\\build\nSET TOOLS_DIR=%BUILD_DIR%\\tools\nSET NUGET_PATH=%TOOLS_DIR%\\nuget.exe\n\nIF NOT EXIST %TOOLS_DIR%\\ (\n mkdir %TOOLS_DIR%\n)\n\nIF NOT EXIST %NUGET_PAT...
batchfile
chosen
[ { "from": "system", "value": "NXP-12981: Use PFX certificate file when signing msi\n" }, { "from": "human", "value": "@echo off\n\nset DIST_DIR=dist\nset CERTIFICATE_STORE=Root\nset CERTIFICATE_NAME=\"Nuxeo Drive SPC\"\nset MSI_PROGRAM_NAME=\"Nuxeo Drive\"\nset TIMESTAMP_URL=http://timestamp.ver...
batchfile
chosen
[ { "from": "system", "value": "Copy also Scenes & Assets directories to apk.\n" }, { "from": "human", "value": "md assets\\Data\nxcopy ..\\..\\Bin\\Data\\*.* assets\\Data /S /E /C /Y\nxcopy ..\\..\\Bin\\*.json assets /S /E /C /Y\nrd /S /Q assets\\Data\\Shaders\\HLSL\n" }, { "from": "gpt",...
batchfile
chosen
[ { "from": "system", "value": "Solve the x86 vs not x86 issue for good\n" }, { "from": "human", "value": "\r\nset version=%1\r\n\r\nrunhaskell ..\\BuildFromSource.hs %version%\r\n\r\nmkdir files\r\nmkdir files\\bin\r\nmkdir files\\share\r\nmkdir files\\share\\compiler\r\nmkdir files\\share\\react...
batchfile
chosen
[ { "from": "system", "value": "Fix SQL CLI on Windows\n\nThis commit fixes the classpath for the SQL CLI tool on Windows. As the\nx-pack bin folder was collapsed into the distribution bin folder, the\nlocation of the classpath here needed to no longer contain the old\nplugins directory.\n" }, { "from...
batchfile
chosen
[ { "from": "system", "value": "Remove dev symlinks before deleting Release and Debug dirs.\n" }, { "from": "human", "value": "ECHO OFF\n\nREM - Check for OS. This script works in Vista or later.\nREM Running it on XP may delete the entire Brackets repo if 'Release\\dev' is a junction point.\nve...
batchfile
chosen
[ { "from": "system", "value": "Fix label jump typo in script cmd template\n" }, { "from": "human", "value": "@echo off\nsetlocal\nset DOTNET_SCRIPT_PATH=\nfor %%i in (dotnet-script.exe) do set DOTNET_SCRIPT_PATH=%%~$PATH:i\nif not defined DOTNET_SCRIPT_PATH call :no-dotnet\nset LINQPADLESS=__LIN...
batchfile
chosen
[ { "from": "human", "value": "Add batch script to run SWMM5 from command line" }, { "from": "gpt", "value": "@echo off\nREM Test SWMM5 simulation\nREM This is an example script to run SWMM5 from command line \nREM Syntax:\nREM \t\t[PATH TO swmm5.exe] [PATH TO SWMM5 INPUT FILE (*.inp)] [PATH TO SW...
batchfile
chosen
[ { "from": "human", "value": "Add run script for Windows\n" }, { "from": "gpt", "value": "SET \"AIR_SDK=%USERPROFILE%\\Documents\\AdobeAIRSDK\"\nset \"STEAM_SDK=%USERPROFILE%\\Documents\\Steam\\sdk\"\nSET ANE_PATH=..\\..\\lib\\bin\n\nset \"PATH=%STEAM_SDK%\\redistributable_bin;%PATH%\"\n\"%AIR_SD...
batchfile
chosen
[ { "from": "system", "value": "Add comments (REM) to bat file.\n" }, { "from": "human", "value": "echo off\nphp pre.php %1 %2 %3\n" }, { "from": "gpt", "value": "echo off\nrem To simplify using pre on multiple sites/directories, install this bat file in the Windows path.\nphp pre.php ...
batchfile
chosen
[ { "from": "system", "value": "[trunk] Disable MinGW test - currently we don't have Boost libs verified for it.\n" }, { "from": "human", "value": "rem This script use MinGW to build the MDSP.\nrem But still we use certain CygWin utilities: SVN\n\nPATH=C:\\mingw\\bin\\;c:\\mingw\\mingw32\\bin\\;c:...
batchfile
chosen
[ { "from": "human", "value": "Add a Batch script for running tests on Windows\n" }, { "from": "gpt", "value": "@echo off\nREM Run tests on Windows.\nREM\nREM To run these tests, you should set up your Windows machine with the same\nREM paths that are used in AppVeyor.\n\nset tests=test/*.vader te...
batchfile
chosen
[ { "from": "system", "value": "Add Canvas2D to the npm release script" }, { "from": "human", "value": "xcopy /Y /F \"../../dist/preview release/babylon.d.ts\" .\r\nxcopy /Y /F \"../../dist/preview release/babylon.js\" .\r\nxcopy /Y /F \"../../dist/preview release/babylon.max.js\" .\r\nxcopy /Y /...
batchfile
chosen
[ { "from": "system", "value": "[DRAFT] Change symbols to var resolve for windows builds" }, { "from": "human", "value": "curl -sSf https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe -o rust-nightly-%TARGET%.exe\n\nrust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR=\"C:\\Program F...
batchfile
chosen
[ { "from": "system", "value": "Use a putty saved session instead of pageant\n" }, { "from": "human", "value": "@echo off\r\n\r\nrem This script is in use by the Windows buildslaves to upload the package to openphdguiding.org\r\n\r\nset exitcode=1\r\n\r\nfor /F \"usebackq\" %%f in (`dir phd2-*-win...
batchfile
chosen
[ { "from": "system", "value": "Update command file for publishing nuget.\n" }, { "from": "human", "value": "@echo off\necho Press any key to publish\npause\n\".nuget\\NuGet.exe\" push Rssdp.3.5.0-beta.nupkg -Source https://www.nuget.org/api/v2/package\npause" }, { "from": "gpt", "valu...
batchfile
chosen
[ { "from": "system", "value": "Revert \"Don't do a BootDPRO but instead call the boot directly.\"\n\nThis reverts commit 8eac068e56c69f5eb92d7f97b4a933b12074c53d.\n" }, { "from": "human", "value": "ECHO Clone Dolphin image environment\ngit clone -q --branch=master https://github.com/dolphinsmallt...
batchfile
chosen
[ { "from": "system", "value": "[Nomad] Patch for version 0.73 update\n" }, { "from": "human", "value": "@echo off\ncls\n:start\necho Starting server...\n\n\"Nomad Server\\NomadServer.exe\" -name \"My Oxide Server\" -port 5127 -slots 10 -clientVersion \"0.72\" -password \"\" -tcpLobby \"149.202.51...
batchfile
chosen
[ { "from": "human", "value": "Add script to conditionally start Bridge\n\nThis CMD is meant to be called only on Windows machines\nthat need to ensure the Bridge is running without the\noverhead checking whether it needs to be built.\n\nIt is intended to be invoked in automated Windows test\nruns that requir...
batchfile
chosen
[ { "from": "system", "value": "Update to use latest KuduScript\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 install https://github.co...
batchfile
chosen
[ { "from": "human", "value": "Add bat for building solution from CLI\n" }, { "from": "gpt", "value": "SET PATH=C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\bin;%PATH%;\nCALL \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\VsDevCmd.bat\"\ngit pull --recurs...
batchfile
chosen
[ { "from": "system", "value": "Fix batch file unit tests\n" }, { "from": "human", "value": "@echo on\nset config=%1\nif \"%config%\" == \"\" (\n set config=Release\n)\n\nset version=\nif not \"%PackageVersion%\" == \"\" (\n set version=-Version %PackageVersion%\n)\n\nif \"%NuGet%\" == \"\" (\...
batchfile
chosen
[ { "from": "human", "value": "Add bat file for creating project with MSVC12 toolchain\n" }, { "from": "gpt", "value": "call \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat\" amd64\n\nrmdir buildRelease /s /q\nrmdir buildDebug /s /q\nmkdir buildRelease\nmkdir buildDebu...
batchfile
chosen
[ { "from": "system", "value": "Remove positional parameter from bat file\n" }, { "from": "human", "value": "@echo off\n\nSETLOCAL enabledelayedexpansion\nTITLE Elasticsearch ${project.version}\n\nSET params='%*'\n\n:loop\nFOR /F \"usebackq tokens=1* delims= \" %%A IN (!params!) DO (\n SET curr...
batchfile
chosen
[ { "from": "system", "value": "Make sure to uninstall the old pip package and install the newly built\none when running windows tests on TF CI.\n" }, { "from": "human", "value": ":: This script assumes the standard setup on tensorflow Jenkins windows machines.\n:: It is NOT guaranteed to work on ...
batchfile
chosen
[ { "from": "system", "value": "Create a user data directory on Windows.\n" }, { "from": "human", "value": "@echo off\n\ncall config.bat\n\necho Installing PIP...\n%PYTHON% %BINDIR%\\get-pip.py\n\necho Installing KCAA Python server prerequisites...\n%PIP% install python-dateutil\n%PIP% install req...
batchfile
chosen
[ { "from": "system", "value": "Test runner batch now takes optional command-line arguments.\n" }, { "from": "human", "value": "@echo off\r\n..\\..\\Tools\\PhpNetTester.exe /compiler:..\\..\\Deployment\\Debug\\phpc.exe /php:..\\..\\Tools\\PHP\\php.exe\r\ndel /s *.pdb *.exe EmittedNodes.csv Library...
batchfile
chosen
[ { "from": "system", "value": "ADd pymatgen-db to windwos build.\n" }, { "from": "human", "value": "cd conda-skeletons\nconda install conda-build anaconda-client\nconda config --add channels matsci\nconda config --set anaconda_upload yes\nFOR %%A IN (latexcodec pybtex spglib pyhull pymatgen seekp...
batchfile
chosen
[ { "from": "system", "value": "Set environment variables for current process\n\nsetx command doesn't affect current process, so use also 'set VAR=VALUE'\n" }, { "from": "human", "value": "@echo off\nset /P NVM_PATH=\"Enter the absolute path where the zip file is extracted/copied to: \"\nsetx /M N...
batchfile
chosen
[ { "from": "human", "value": "Build script for Windows users\n" }, { "from": "gpt", "value": "@echo off\n\n\n:: Requirements for building\n:: Download \"Open Source Flex SDK\" from http://www.adobe.com/devnet/flex/flex-sdk-download-all.html\n:: file similar to: flex_sdk_4.1.0.16076_mpl.zip\n::\n:...
batchfile
chosen
[ { "from": "system", "value": "Update Windows python binary to use py\n" }, { "from": "human", "value": "pip install --upgrade wxPython\npip install -r requirements.txt\npip install pywin32\n\npyinstaller -p bundledApps --onefile --windowed --clean --version-file=build/version.txt --icon=build/ic...
batchfile
chosen
[ { "from": "system", "value": "Disable officescan context menu on drives\n" }, { "from": "human", "value": "@echo off\n\nsetlocal EnableDelayedExpansion\n\nset registryRoot=HKCU\\Software\\Classes\nset key=OfficeScan NT\n\nreg add \"%registryRoot%\\*\\shellex\\ContextMenuHandlers\\%key%\" /d \"--...
batchfile
chosen
[ { "from": "human", "value": "Add Windows development environment creator\n" }, { "from": "gpt", "value": "mkdir \"C:\\RestafariEnvironment\"\ncd \"C:\\RestafariEnvironment\"\n@powershell -NoProfile -ExecutionPolicy unrestricted -Command \"iex ((new-object net.webclient).DownloadString('https://c...
batchfile
chosen
[ { "from": "system", "value": "Add telnet connection to qemu monitor\n" }, { "from": "human", "value": "\"C:\\Program Files\\qemu\\qemu-system-x86_64.exe\" -cdrom \"C:\\solutions\\os_c\\build\\os-x86_64.iso\" -d int -no-shutdown -no-reboot -s" }, { "from": "gpt", "value": "\"C:\\Progr...
batchfile
chosen
[ { "from": "system", "value": "Revert \"add enable avx2 flag to windows build script\"\n\nThis reverts commit d57e7a8ea2c6580483dd80e9225af81ec65017b0.\n" }, { "from": "human", "value": "@echo off\nsetlocal\n\nset SCRIPTDIR=%~dp0\nset PROJDIR=%SCRIPTDIR%..\\..\\\nset MSBUILDBIN=\"C:\\Program File...
batchfile
chosen
[ { "from": "system", "value": "Change '--version' command for release\n" }, { "from": "human", "value": "@echo off\nsetlocal\n\nif \"%1\" == \"--help\" (\necho Usage: rbenv --version\necho.\necho Displays the version number of this rbenv release, including the\necho current revision from git, if ...
batchfile
chosen
[ { "from": "system", "value": "Check if directory exists before trying to delete it.\n" }, { "from": "human", "value": "@ECHO OFF\n\nREM - Use full path of this batch file to determine root directory\nset root_path=%~f0\nset root_path=%root_path:~0,-27%\n\nREM - Check for parameter\nIF %1.==. GOT...
batchfile
chosen
[ { "from": "system", "value": "Remove hard path to mstest.exe.\n" }, { "from": "human", "value": "\"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\MSTest.exe\" /testcontainer:AgateLib.Tests\\UnitTests\\bin\\Debug\\AgateLib.UnitTests.dll\nif %ERRORLEVEL% NEQ 0 exit /b %ERRORL...
batchfile
chosen
[ { "from": "system", "value": "[bugfix] Make sure to correctly quote/unquote Windows paths in the installer\n" }, { "from": "human", "value": "@echo off\r\n\r\n\r\nrem $Id$\r\n\r\n::remove any quotes from JAVA_HOME and EXIST_HOME env var, will be re-added below\r\nfor /f \"delims=\" %%G IN (%JAVA...
batchfile
chosen
[ { "from": "system", "value": "Stop build when an error occurs.\n\"Peter 'Luna' Runestig\" <peter+openssl-dev@runestig.com>\n" }, { "from": "human", "value": "set OPTS=no-asm\n\nperl Configure VC-WIN32\nperl util\\mk1mf.pl %OPTS% debug VC-WIN32 >d32.mak\nperl util\\mk1mf.pl %OPTS% VC-WIN32 >32.ma...
batchfile
chosen
[ { "from": "system", "value": "Remove an instruction of a JRuby (Ruby) script execution\n" }, { "from": "human", "value": "jruby .\\generate-sample-midi-stream.rb\ng++ .\\make-sample-wav-file.cc -o .\\make-sample-wav-file.exe\n.\\make-sample-wav-file.exe .\\sample-midi-stream.bin .\\sample-wav-fi...
batchfile
chosen
[ { "from": "system", "value": "Add a comment explaining why this path is set\n" }, { "from": "human", "value": "\necho Current build setup MSVS=\"%MSVS%\" PLATFORM=\"%PLATFORM%\" TARGET=\"%TARGET%\"\n\nif %MSVS% == 2015 call \"%ProgramFiles(x86)%\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\"...
batchfile
chosen
[ { "from": "system", "value": "Fix error in version file\n" }, { "from": "human", "value": "set MAJOR_PREVIOUS=1\nset MINOR_PREVIOUS=5\nset PATCH_PREVIOUS=12\nset PRERELEASE_PREVIOUS=-developer\n\nset MAJOR=1\nset MINOR=5\nset PATCH=13\nset PRERELEASE=-developer\n" }, { "from": "gpt", ...
batchfile
chosen
[ { "from": "system", "value": "Fix for the MyGet packaging\n" }, { "from": "human", "value": "@echo Off\nset config=%1\nif \"%config%\" == \"\" (\n set config=Release\n)\n \nset version=1.0.0\nif not \"%PackageVersion%\" == \"\" (\n set version=%PackageVersion%\n)\n\nset nuget=\nif \"%nuget%\...
batchfile
chosen
[ { "from": "system", "value": "Update AppVeyor build version with branch and assembly version.\n" }, { "from": "human", "value": "@echo off\n\nrem Get current assembly version in environment variable\nfor /f %%i in ('PowerShell -File Scripts\\get-version.ps1') do set CUSTOM_MAJOR_VERSION=%%i\n\ns...
batchfile
chosen
[ { "from": "system", "value": "Exclude ThScoreFileConverterTests from the coverage result\n" }, { "from": "human", "value": "set CONFIGURATION=%1\nset OUTPUT=%2\n\nset OPENCOVER=\".\\packages\\OpenCover.4.6.519\\tools\\OpenCover.Console.exe\"\nset TARGET=\"%VSINSTALLDIR%\\Common7\\IDE\\CommonExte...
batchfile
chosen
[ { "from": "human", "value": "Add windows .bat for automatically building foreign dependencies\n" }, { "from": "gpt", "value": "@echo off\nSET GENERATOR=\"Visual Studio 14 2015\"\nSET GENERATOR64=\"Visual Studio 14 2015 Win64\"\nrem SET GENERATOR\"Visual Studio 15 2017\"\nrem SET GENERATOR64=\"Vi...
batchfile
chosen
[ { "from": "system", "value": "Use ^ as line continuation character\n" }, { "from": "human", "value": "@echo off\ndotnet tool install --global AzureSignTool\nazuresigntool sign --description-url \"https://starschema.com\" \\\n --file-digest sha256 --azure-key-vault-url https://billiant-keyvaul...
batchfile
chosen
[ { "from": "system", "value": "Fix bat links on Windows\n" }, { "from": "human", "value": "REM remove unneeded librar stubs\nrd /S /Q %SRC_DIR%\\include\nrd /S /Q %SRC_DIR%\\lib\nrd /S /Q %SRC_DIR%\\share\\man\nif errorlevel 1 exit 1\n\nmkdir %SRC_DIR%\\share\\doc\\graphviz\nmove %SRC_DIR%\\share...
batchfile
chosen
[ { "from": "system", "value": "Copy GLL to yc for Examples.\n" }, { "from": "human", "value": "if exist yc (\r\n rd /s /q yc )\r\n\r\nmkdir yc\r\n\r\nxcopy /Y ..\\YaccConstructor\\YaccConstructor\\bin\\Release\\*.dll yc\r\nxcopy /Y ..\\YaccConstructor\\YaccConstructor\\bin\\Release\\*.exe yc\...
batchfile
chosen
[ { "from": "system", "value": "Fix handling of spaces in plugin script on Windows\n\nA previous fix for handling spaces in the Windows scripts should also be\napplied to the plugin script. This commit does that.\n\nCloses #24750\n" }, { "from": "human", "value": "@echo off\n\nSETLOCAL enabledelay...
batchfile
chosen
[ { "from": "system", "value": "Update windows script so cmd-c works properly\n" }, { "from": "human", "value": "@echo off\n\nset OLDDIR=%CD%\ncd %~dp0\ncd ..\nset AGILE_HOME=%CD%\n\nset CMD_LINE_ARGS=\n:getArgs\nif %1x==x goto doneArgs\nset CMD_LINE_ARGS=%CMD_LINE_ARGS% %1\nshift\ngoto getArgs\n:...
batchfile
chosen
[ { "from": "system", "value": "Remove old .vsi file before creating new\n\n\n" }, { "from": "human", "value": "..\\Build\\tools\\7zip\\7za.exe -r a CosmosBoot.zip ProjectTemplate\r\n..\\Build\\tools\\7zip\\7za.exe a -tzip Cosmos.vsi Cosmos.vscontent CosmosBoot.zip\r\ndel CosmosBoot.zip" }, { ...
batchfile
chosen
[ { "from": "system", "value": "Set SDK version depending on Python 2 or 3.\n" }, { "from": "human", "value": "@echo off\n:: To build extensions for 64 bit Python 3, we need to configure environment\n:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:\n:: MS Windows SDK for...
batchfile
chosen
[ { "from": "system", "value": "Fix path in FOR loop\n" }, { "from": "human", "value": "rem Copy runtime DLLs \n\necho \"\" | stack exec -- where libstdc++-6.dll > lib.txt\necho \"\" | stack exec -- where libgcc_s_seh-1.dll >> lib.txt\necho \"\" | stack exec -- where libwinpthread-1.dll >> lib.txt...
batchfile
chosen
[ { "from": "system", "value": "Add logging into studio with plugin\n" }, { "from": "human", "value": "@echo off\r\nSET pathToVS12=C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\devenv.exe\r\nSET pathToVS11=C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\...
batchfile
chosen
[ { "from": "system", "value": "Use Windows environment variable substitution\n\n[#131571315]\n" }, { "from": "human", "value": "SET GOPATH=%CD%\\gopath\nSET GATSPATH=%GOPATH%\\src\\code.cloudfoundry.org\\cli-acceptance-tests\n\nSET PATH=C:\\Go\\bin;%PATH%\nSET PATH=C:\\Program Files\\Git\\cmd\\;%...
batchfile
chosen
[ { "from": "system", "value": "Fix 2 bugs with Windows activation\n\nWith this fix ripgrep can be built for win-32 msvc.\nAlacritty fails building win32api.\n" }, { "from": "human", "value": "set CARGO_HOME=%CONDA_PREFIX%.cargo.win\nset CARGO_CONFIG=%CARGO_HOME%\\config\nset RUSTUP_HOME=%CARGO_HO...
batchfile
chosen
[ { "from": "system", "value": "Add OxyPlot.Xps to Release download (discussions/545072)\n" }, { "from": "human", "value": "mkdir ..\\Output\\Release\r\nmkdir ..\\Output\\Release\\NET40\r\nmkdir ..\\Output\\Release\\NET45\r\nmkdir ..\\Output\\Release\\NetCore45\r\nmkdir ..\\Output\\Release\\NetCor...
batchfile
chosen
[ { "from": "system", "value": "Remove verbose from curl command\n" }, { "from": "human", "value": "@echo on\n@setlocal\n\n:: Sample usage: \n:: purge-ngenix http://chopard-st.cdn.ngenix.net/test2.txt\n:: This file is set up for a specific property tag, the property tag variable can also be set to...
batchfile
chosen
[ { "from": "system", "value": "Change windows installer signing script based on the current step name\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 successfully sign it ...
batchfile
chosen