Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add also %ROOTSYS%\bin to PYTHONPATH if not already set | @echo off
rem Source this script to set up the ROOT build that this script is part of.
rem
rem Author: Axel Naumann, 10/07/2007
set OLDPATH=%CD%
set THIS=%0
set THIS=%THIS:~0,-12%.
cd /D %THIS%\..
set ROOTSYS=%CD%
cd /D %OLDPATH%
set PATH=%ROOTSYS%\bin;%PATH%
set OLDPATH=
set THIS=
| @echo off
rem Source this script to set up the ROOT build that this script is part of.
rem
rem Author: Axel Naumann, 10/07/2007
set OLDPATH=%CD%
set THIS=%0
set THIS=%THIS:~0,-12%.
cd /D %THIS%\..
set ROOTSYS=%CD%
cd /D %OLDPATH%
set PATH=%ROOTSYS%\bin;%PATH%
echo %PYTHONPATH%|find /i "%ROOTSYS%\bin">nul || set PYTHON... |
Add @REM for windows BAT file comment | ## @file
#
# Copyright (c) 2007 - 2010, Intel Corporation
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensourc... | @REM ## @file
@REM #
@REM # Copyright (c) 2007 - 2010, Intel Corporation
@REM # All rights reserved. This program and the accompanying materials
@REM # are licensed and made available under the terms and conditions of the BSD License
@REM # which accompanies this distribution. The full text of the license may b... |
Add game runner script for Windows to C++ bot | SET PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
cl.exe /std:c++14 /O2 /MT /EHsc .\MyBot.cpp /link /out:MyBot.exe
..\..\environment\halite.exe -d "96 96" ".\MyBot.exe" ".\MyBot.exe"
| |
Add parameter -N (Do not recurse into sub-projects) to skeleton generation script for Windows. | @echo off
SETLOCAL
SET ARGC=0
FOR %%x IN (%*) DO SET /A ARGC+=1
IF %ARGC% NEQ 2 (
echo Usage: %0 BindingIdInCamelCase BindingIdInLowerCase
exit /B 1
)
mvn archetype:generate -DarchetypeGroupId=org.eclipse.smarthome.archetype -DarchetypeArtifactId=org.eclipse.smarthome.archetype.binding -DarchetypeVe... | @echo off
SETLOCAL
SET ARGC=0
FOR %%x IN (%*) DO SET /A ARGC+=1
IF %ARGC% NEQ 2 (
echo Usage: %0 BindingIdInCamelCase BindingIdInLowerCase
exit /B 1
)
mvn archetype:generate -N -DarchetypeGroupId=org.eclipse.smarthome.archetype -DarchetypeArtifactId=org.eclipse.smarthome.archetype.binding -Darchetyp... |
Fix source_svn test recipe on Windows | if not exist trunk exit 1
cd trunk
svn info
if errorlevel 1 exit 1
for /f "delims=" %%i in ('svn info | grep "Revision"') do set svnrev=%%i
if not svnrev=="Revision: 1157" exit 1
| if not exist trunk exit 1
cd trunk
svn info
if errorlevel 1 exit 1
for /f "delims=" %%i in ('svn info ^| grep "Revision"') do set svnrev=%%i
if errorlevel 1 exit 1
echo %svnrev%
if not "%svnrev%"=="Revision: 1157" exit 1
|
Use "@echo off" for brevity | @set JAVA_OPTS=-Djava.awt.headless=true
@set ROOT_DIR=%~dp0
@cd "%ROOT_DIR%"
@set CLASS_PATH="%ROOT_DIR%\*;."
@java %JAVA_OPTS% -cp %CLASS_PATH% scalive.AgentLoader %ROOT_DIR% %*
| @echo off
set JAVA_OPTS=-Djava.awt.headless=true
set ROOT_DIR=%~dp0
cd "%ROOT_DIR%"
set CLASS_PATH="%ROOT_DIR%\*;."
java %JAVA_OPTS% -cp %CLASS_PATH% scalive.AgentLoader %ROOT_DIR% %*
|
Fix order of arguments in mklink and prefix path with build/ | mklink ./lib/ansible/release.py ./lib/ansible/ansible_release.py
%PYTHON% -m pip install . -vv
| mklink build/lib/ansible/ansible_release.py build/lib/ansible/release.py
%PYTHON% -m pip install . -vv
|
Allow spaces in JAVA_HOME directory | @echo off
echo building prefuse...
if "%JAVA_HOME%" == "" goto error
set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;.\lib\ant.jar;%CLASSPATH%
set ANT_HOME=./lib
echo ... using classpath %LOCALCLASSPATH%
%JAVA_HOME%\bin\java.exe -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main ... | @echo off
echo building prefuse...
if "%JAVA_HOME%" == "" goto error
set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;.\lib\ant.jar;%CLASSPATH%
set ANT_HOME=./lib
echo ... using classpath %LOCALCLASSPATH%
"%JAVA_HOME%\bin\java.exe" -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Mai... |
Update for ping wait to use invalid address so timeouts are reached. | echo off
REM leave a pid file so that a non-DC process
REM like configd can be notified for shutdown
copy /y nul > %cd%\.pid%1
REM set this sleep value to be at least twice
REM as long as the QMF_CONFIGD_WIN_INTERVAL
set cntr=0
:LoopStart
IF NOT EXIST %cd%\.pid%1 Goto EndClean
ping 127.0.0.1 -n 1 -w 1000 > nul
IF %... | echo off
REM leave a pid file so that a non-DC process
REM like configd can be notified for shutdown
copy /y nul > %cd%\.pid%1
REM set this sleep value to be at least twice
REM as long as the QMF_CONFIGD_WIN_INTERVAL
set cntr=0
:LoopStart
IF NOT EXIST %cd%\.pid%1 Goto EndClean
ping 1.1.1.1 -n 1 -w 1000 > nul
IF %cn... |
Change to current directory after calling VSDevCmd.bat | @if "%_echo%" neq "on" echo off
setlocal
if defined VisualStudioVersion goto :Run
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist %_VSWHERE% (
for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
)
if not ... | @if "%_echo%" neq "on" echo off
setlocal
if defined VisualStudioVersion goto :Run
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist %_VSWHERE% (
for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
)
if not ... |
Add batch script to build the samples in the Windows SDK | cd %VULKAN_SDK%
cd glslang
md build
cd build
cmake -G "Visual Studio 12 Win64" ..
msbuild ALL_BUILD.vcxproj /p:Platform=x64 /p:Configuration=Debug /verbosity:quiet
cd ..\..
cd spirv-tools
md build
cd build
cmake -G "Visual Studio 12 Win64" ..
msbuild ALL_BUILD.vcxproj /p:Platform=x64 /p:Configuration=Debug /... | |
Use ILRepack.MSBuild.Task 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 -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
| @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.0 -Source https://www.myget.org/F/sympa-public/api/v3/index.json -OutputDirectory .\Tools\ -ExcludeVersion -NonI... |
Make sure we can exit cmd when we start code | @echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul$G$G$*
doskey pwd=echo %CD%
rem Easier navigation
doskey cd=cd /D $*
doskey cd..=cd ..
... | @echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul$G$G$*
doskey pwd=echo %CD%
rem Easier navigation
doskey cd=cd /D $*
doskey cd..=cd ..
... |
Fix for sDownload tool. Added correct v2 classpath entries. Submitted by: Jacob Danner | @rem Schema downloader
@rem
@rem Tool to download schemas.
@echo off
setlocal
if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
set cp=
set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %*
:done
| @rem Schema downloader
@rem
@rem Tool to download schemas.
@echo off
setlocal
if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
set cp=
set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar
set cp=%cp%;%XMLBEANS_HOME%\build\lib\resolver.jar
java -classpath %cp% o... |
Fix the nuget templates version | SET PACKAGE_VERSION=3.0.1
cd .\src\Templates
nuget pack -Version %PACKAGE_VERSION%
dotnet new -u GeneticSharp.Templates
dotnet new -i GeneticSharp.Templates.%PACKAGE_VERSION%.nupkg
echo GeneticSharpTspBlazorApp
dotnet new GeneticSharpTspBlazorApp -n TspBlazorApp -o TspBlazorApp
echo GeneticSharpConsoleApp
dotnet ne... | SET PACKAGE_VERSION=3.0.0
cd .\src\Templates
nuget pack -Version %PACKAGE_VERSION%
dotnet new -u GeneticSharp.Templates
dotnet new -i GeneticSharp.Templates.%PACKAGE_VERSION%.nupkg
echo GeneticSharpTspBlazorApp
dotnet new GeneticSharpTspBlazorApp -n TspBlazorApp -o TspBlazorApp
echo GeneticSharpConsoleApp
dotnet ne... |
Fix up batch script line endings | @echo off
echo HTTP/1.1 200 OK
echo Connection: close
echo.
echo CGI test:
echo.
set
| @echo off
echo HTTP/1.1 200 OK
echo Connection: close
echo.
echo CGI test:
echo.
set
|
Add utility script to quick re-generate the wiki pages | @ECHO OFF
PUSHD "%~dp0."
PUSHD wiki
npm install
node airbit.wiki.js
POPD
IF EXIST public\wiki RD /Q public\wiki
MKLINK /J public\wiki wiki\_site
POPD | |
Fix slight issue with the windows build script not returning to the original folder it was invoked from. | md build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -G "Visual Studio 14 2015" ..
devenv musicgame.sln /build
pause | md build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -G "Visual Studio 14 2015" ..
devenv musicgame.sln /build
cd ..
pause
|
Change build order for CI. | cd /d "%~dp0"
cd ..
rmdir /s /q install
rmdir /s /q build
mkdir build
cd build
cmake .. -G "Visual Studio 12" "-DCMAKE_INSTALL_PREFIX=%WORKSPACE%\install" %*
cmake --build . --config Debug
cmake --build . --config RelWithDebInfo
cmake --build . --config RelWithDebInfo -- /p:RunCodeAnalysis=True
cmake --build . --config... | cd /d "%~dp0"
cd ..
rmdir /s /q install
rmdir /s /q build
mkdir build
cd build
cmake .. -G "Visual Studio 12" "-DCMAKE_INSTALL_PREFIX=%WORKSPACE%\install" %*
cmake --build . --config Debug
cmake --build . --config RelWithDebInfo
cmake --build . --config RelWithDebInfo --target INSTALL
cmake --build . --config RelWithD... |
Fix message in install script | @echo off
echo node.js > 5.3.0 must be installed for this script to work.
echo If this script fails, try closing editors and running it again first.
echo Any warnings about optional dependencies can be safely ignored.
pause
REM Install Gulp
cmd /c npm install gulp-cli -g
REM Install tgui dependencies
cmd /c npm install... | @echo off
echo node.js 5.3.0 or newer must be installed for this script to work.
echo If this script fails, try closing editors and running it again first.
echo Any warnings about optional dependencies can be safely ignored.
pause
REM Install Gulp
cmd /c npm install gulp-cli -g
REM Install tgui dependencies
cmd /c npm ... |
Append exit 0 for AppVeyor copy script | robocopy . ..\..\..\..\..\installer\windows\x64\packages\com.kryvosproject.kryvos\data\ /E
robocopy . Kryvos\ /E
| robocopy . ..\..\..\..\..\installer\windows\x64\packages\com.kryvosproject.kryvos\data\ /E
robocopy . Kryvos\ /E
exit 0
|
Archive was being stored in wrong directory. | set PYTHON=C:\Python27\python.exe
set BASE_DIR=[Your email-backup checkout]
set OUTPUT_DIR=[Directory to output archive]
set EMAIL=[Email address]
set PASSWORD=[Password (application specific password for gmail accounts)]
set IMAP=[IMAP server address]
%python% %BASE_DIR%\ebackup.py -e %EMAIL% -p %PASSWORD% -i %IMAP%... | set PYTHON=C:\Python27\python.exe
set BASE_DIR=[Your email-backup checkout]
set OUTPUT_DIR=[Directory to output archive]
set EMAIL=[Email address]
set PASSWORD=[Password (application specific password for gmail accounts)]
set IMAP=[IMAP server address]
%python% %BASE_DIR%\ebackup.py -e %EMAIL% -p %PASSWORD% -i %IMAP%... |
Remove files that should have been git ignored | jar -cvf bundle.jar Z80Processor-2.0.2.pom Z80Processor-2.0.2.pom.asc Z80Processor-2.0.2.jar Z80Processor-2.0.2.jar.asc Z80Processor-2.0.2-javadoc.jar Z80Processor-2.0.2-javadoc.jar.asc Z80Processor-2.0.2-sources.jar Z80Processor-2.0.2-sources.jar.asc | |
Update references to rename solution file | @echo off
SET ROOT=%~dp0..
SET NuGetExe=%ROOT%\Tools\NuGet.exe
SET SolutionFile=%ROOT%\UnitsNet.sln
%NuGetExe% restore %SolutionFile% | @echo off
SET ROOT=%~dp0..
SET NuGetExe=%ROOT%\Tools\NuGet.exe
SET SolutionFile=%ROOT%\UnitsNet.2015.sln
%NuGetExe% restore %SolutionFile% |
Fix env var quoting on Windows | @echo off
<% print environment.collect { entry -> """set ${entry.key}=\"${entry.value}\"""" }.join("\n") %>
rem add jruby and rubygem binstubs to PATH
set PATH="${additionalJRubyPaths.join(File.pathSeparator)};%PATH%"
"${javaExecutable}" ^
<% print jvmArgs.collect { entry -> $/ "${entry}"/$ }.join(" ^\n") %> ^
<% pr... | @echo off
<% print environment.collect { entry -> """set \"${entry.key}=${entry.value}\"""" }.join("\n") %>
rem add jruby and rubygem binstubs to PATH
set "PATH=${additionalJRubyPaths.join(File.pathSeparator)};%PATH%"
"${javaExecutable}" ^
<% print jvmArgs.collect { entry -> $/ "${entry}"/$ }.join(" ^\n") %> ^
<% pr... |
Check whether ngen.exe exists and execute only if it exists. Some versions of Windows 7 (e.g. without updates) do not include .NET Framework 4.0 by default. | ::http://support.microsoft.com/kb/2570538
::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe executequeu... | ::http://support.microsoft.com/kb/2570538
::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT
if exist "%windir%\microsoft.net\framework\v4.0.30319\ngen.exe" (
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /qu... |
Make file more readable by shortening lines. | @ECHO OFF
SET CurrentPath=%~dp0
SET ReferenceFolder=%1
SET DifferenceFolder=%2
SET SupportLongFilenames=%3
IF [%3]==[] SET SupportLongFilenames=$False
ECHO.
PowerShell.exe -NoProfile -ExecutionPolicy ByPass -Command "%CurrentPath%FolderDiff.ps1 %ReferenceFolder% %DifferenceFolder% %SupportLongFilenames% | ForEac... | @ECHO OFF
SET CurrentPath=%~dp0
SET ReferenceFolder=%1
SET DifferenceFolder=%2
SET SupportLongFilenames=%3
IF [%3]==[] SET SupportLongFilenames=$False
ECHO.
PowerShell.exe ^
-NoProfile ^
-ExecutionPolicy ByPass ^
-Command ^
"%CurrentPath%FolderDiff.ps1 %ReferenceFolder% %DifferenceFolder% ... |
Change CI build dir in appeyor | REM mkdir build
REM cd build
REM Remove dot from PY_VER for use in library name
set MY_PY_VER=%PY_VER:.=%
REM Configure step
cmake -G "%CMAKE_GENERATOR%" ^
-DPYTHON_EXECUTABLE:FILEPATH="%PYTHON%" ^
-DPYTHON_INCLUDE_DIR:PATH="%PREFIX%"/include ^
-DPYTHON_LIBRARY:FILEPATH="%PREFIX%"/libs/python%MY_PY_VER%.lib ... | REM To avoid building in work/ alongside the source. Rather build in work/build/
mkdir build
cd build
REM Remove dot from PY_VER for use in library name
set MY_PY_VER=%PY_VER:.=%
REM Configure step
cmake -G "%CMAKE_GENERATOR%" ^
-DPYTHON_EXECUTABLE:FILEPATH="%PYTHON%" ^
-DPYTHON_INCLUDE_DIR:PATH="%PREFIX%"/include ... |
Revert "swap GnuWin32 with 7zip, cuz sourceforge is broke" | SET GOPATH=%CD%\cf-release-repo
SET GATSPATH=%GOPATH%\src\github.com\cloudfoundry\cf-acceptance-tests
SET PATH=C:\Go\bin;%PATH%
SET PATH=C:\Program Files\Git\cmd\;%PATH%
SET PATH=%CD%\cf-release-repo\bin;%PATH%
SET PATH=C:\Program Files\7-Zip;%PATH%
SET PATH=C:\Program Files\cURL\bin;%PATH%
SET PATH=%CD%;%PATH%
SET /... | SET GOPATH=%CD%\cf-release-repo
SET GATSPATH=%GOPATH%\src\github.com\cloudfoundry\cf-acceptance-tests
SET PATH=C:\Go\bin;%PATH%
SET PATH=C:\Program Files\Git\cmd\;%PATH%
SET PATH=%CD%\cf-release-repo\bin;%PATH%
SET PATH=C:\Program Files\GnuWin32\bin;%PATH%
SET PATH=C:\Program Files\cURL\bin;%PATH%
SET PATH=%CD%;%PATH%... |
Add windows command for populating mongo | @echo off
where mongoimport /q
IF "%ERRORLEVEL%" == "0" (
call mongoimport --host localhost --port 27017 --collection homes --db bibliothek --jsonArray --file ./homes_data.json --verbose
) ELSE (
echo Cannot find `mongoimport`
)
| |
Build Ironframe in DiegoWindowsMSI on appveyor instead of testing it (currently freezes) | :: msbuild must be in path
SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319
where msbuild
if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 )
git submodule update --init --recursive
cd IronFrame
call build.bat || exit /b 1
cd ..
rmdir /S /Q packages
bin\nuget restore || exit /b 1
MSBuil... | :: msbuild must be in path
SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319
where msbuild
if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 )
git submodule update --init --recursive
cd IronFrame
call build.bat build || exit /b 1
cd ..
rmdir /S /Q packages
bin\nuget restore || exit /b 1
... |
Fix run_all_test script to avoid git-cl variable clashes. | @echo off
:: Copyright 2009 Google Inc. All Rights Reserved.
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by ... | @echo off
:: Copyright 2009 Google Inc. All Rights Reserved.
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by ... |
Revert dotnet restore because it did not fix the AnyCPU build. | @echo off
if not exist "C:\Program Files (x86)\gs" powershell -ExecutionPolicy Unrestricted ..\Scripts\AppVeyor\InstallGhostscript.ps1
if %errorlevel% neq 0 exit /b %errorlevel%
set LIBDIR=C:\Magick.NET.libs
if exist %LIBDIR% goto done
echo Downloading .lib files
appveyor DownloadFile https://www.dropbox.com/sh/5m3z... | @echo off
if not exist "C:\Program Files (x86)\gs" powershell -ExecutionPolicy Unrestricted ..\Scripts\AppVeyor\InstallGhostscript.ps1
if %errorlevel% neq 0 exit /b %errorlevel%
set LIBDIR=C:\Magick.NET.libs
if exist %LIBDIR% goto done
echo Downloading .lib files
appveyor DownloadFile https://www.dropbox.com/sh/5m3z... |
Remove wildcard from del statement | rem Tool to assemble Windows builds
rem Requirements are 7-zip, py2exe, and FreeExtractor
PATH=C:\python27;C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
rem ****** Clean out the old junk
rmdir /q /s dist\*.*
del /s /q dist\*.*
rem ****** Compile our executable and core zipfile
python setup.py py2e... | rem Tool to assemble Windows builds
rem Requirements are 7-zip, py2exe, and FreeExtractor
PATH=C:\python27;C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
rem ****** Clean out the old junk
del /s /f /q dist
rem ****** Compile our executable and core zipfile
python setup.py py2exe
rem ****** Remove... |
Address exit codes on Windows. | cd winbuild
if %ARCH% == 32 (
set ARCH_STRING=x86
) else (
set ARCH_STRING=x64
)
REM This is implicitly using WinSSL. See Makefile.vc for more info.
nmake /f Makefile.vc mode=dll VC=%VS_MAJOR:"=% WITH_DEVEL=%LIBRARY_PREFIX% ^
WITH_ZLIB=dll DEBUG=no ENABLE_IDN=no MACHINE=%ARCH_STRING%
robocopy ..\bu... | cd winbuild
if %ARCH% == 32 (
set ARCH_STRING=x86
) else (
set ARCH_STRING=x64
)
REM This is implicitly using WinSSL. See Makefile.vc for more info.
nmake /f Makefile.vc mode=dll VC=%VS_MAJOR:"=% WITH_DEVEL=%LIBRARY_PREFIX% ^
WITH_ZLIB=dll DEBUG=no ENABLE_IDN=no MACHINE=%ARCH_STRING%
if %ERRORLEVEL%... |
Disable tests in Mingw builds | rem CMake/MinGW workaround - remove sh.exe from PATH
where sh
set MINGW=C:\Qt\Tools\mingw530_32
set QTDIR=C:\Qt\5.11.0\mingw53_32
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
set CMAKE_PREFIX_PATH=%QTDIR%
set PATH=%MINGW%\bin;%PATH%;%QTDIR%\bin
:: Qt needs to find the windows platform plugin to run tests
set QT_QPA_P... | rem CMake/MinGW workaround - remove sh.exe from PATH
where sh
set MINGW=C:\Qt\Tools\mingw530_32
set QTDIR=C:\Qt\5.11.0\mingw53_32
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
set CMAKE_PREFIX_PATH=%QTDIR%
set PATH=%MINGW%\bin;%PATH%;%QTDIR%\bin
:: Qt needs to find the windows platform plugin to run tests
set QT_QPA_P... |
Use REN instead of MOVE as the latter has issues with long path | set SRC_DIR=%cd%\src
set DIST_DIR=%SRC_DIR%\dist
set BUILD_DIR=%SRC_DIR%\build
set OUT_DIR=%SRC_DIR%\bin
set MSI_TARGET_DIR=C:\jenkins\build\whid-x64
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
cd
cd %SRC_DIR%
dir
echo on
rmdir /S /Q "%DIST_DIR%"
mkdir "%DIST_D... | set SRC_DIR=%cd%\src
set DIST_DIR=%SRC_DIR%\dist
set BUILD_DIR=%SRC_DIR%\build
set OUT_DIR=%SRC_DIR%\bin
set MSI_TARGET_DIR=C:\jenkins\build\whid-x64
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
cd
cd %SRC_DIR%
dir
echo on
rmdir /S /Q "%DIST_DIR%"
mkdir "%DIST_D... |
Create project for visual studio 14 | echo off
set platformsFolder=platforms
set platformName=Visual
set folder=%platformsFolder%\%platformName%
if not exist %folder% (mkdir %folder%) | rem echo off
SET mypath=%~dp0
set platformsFolder=platforms
set platformName="Visual Studio 14"
set folder=%mypath%\%platformsFolder%\%platformName%
if not exist %folder% (mkdir %folder%)
cd %platformsFolder%
rem call cmake
cmake.exe .. -G%platformName%
cd %mypath%
pause |
Put database and log files in Application Data folder instead of Program Files folder. | @rem figure out the folder name
@set MONETDB=%~dp0
@rem remove the final backslash from the path
@set MONETDB=%MONETDB:~0,-1%
@rem extend the search path with our EXE and DLL folders
@rem we depend on pthreadVCE.dll having been copied to the lib folder
@set PATH=%MONETDB%\bin;%MONETDB%\lib;%PATH%
@rem start the real... | @echo off
rem figure out the folder name
set MONETDB=%~dp0
rem remove the final backslash from the path
set MONETDB=%MONETDB:~0,-1%
rem extend the search path with our EXE and DLL folders
rem we depend on pthreadVCE.dll having been copied to the lib folder
set PATH=%MONETDB%\bin;%MONETDB%\lib;%PATH%
set MONETDBFARM... |
Create scheduled task as current user | @echo off
TITLE Adding task to start KA Lite at system start
setlocal
for /f "tokens=4-6 delims=[.XP " %%i in ('ver') do set WIN_VERSION="%%i.%%j"
rem 5.1 and 5.2 are XP and Server 2003/64-bit XP
if %WIN_VERSION% LEQ "5.2" (
echo This feature is unavailable on this version of Windows.
pause
) else (... | @echo off
TITLE Adding task to start KA Lite at system start
setlocal
for /f "tokens=4-6 delims=[.XP " %%i in ('ver') do set WIN_VERSION="%%i.%%j"
rem 5.1 and 5.2 are XP and Server 2003/64-bit XP
if %WIN_VERSION% LEQ "5.2" (
echo This feature is unavailable on this version of Windows.
pause
) else (... |
Make build Windows command line launcher independent from the current working directory | set FrameworkVersion=v4.0.30319
set FrameworkDir=%SystemRoot%\Microsoft.NET\Framework
"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" CI-build.msbuild
exit /B %ERRORLEVEL% | SET BASEDIR=%~dp0
set FrameworkVersion=v4.0.30319
set FrameworkDir=%SystemRoot%\Microsoft.NET\Framework
"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%CI-build.msbuild"
exit /B %ERRORLEVEL% |
Add standalone conda module build on Windows. | cd "%RECIPE_DIR%\..\..\" || exit 1
"%PYTHON%" setup.py module || exit 1
"%PYTHON%" setup.py module_install || exit 1
if not exist "%RECIPE_DIR%\test" mkdir "%RECIPE_DIR%\test" || exit 1
copy /y python\*.py "%RECIPE_DIR%\test"
| |
Add bat file to test | .\bin\Debug\music_box.exe --init albums.txt
.\bin\Debug\music_box.exe --load my-favorite-aor.txt
.\bin\Debug\music_box.exe --play
| |
Install builtInExtensions on windows too | @echo off
setlocal
title VSCode Dev
pushd %~dp0\..
:: Node modules
if not exist node_modules call yarn
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAM... | @echo off
setlocal
title VSCode Dev
pushd %~dp0\..
:: Node modules
if not exist node_modules call yarn
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAM... |
Add explanation to upload script | @echo off
setlocal EnableDelayedExpansion
SET username=%1
SET apikey=%2
SET modules="MediaPlayer" "MediaPlayer-DASH" "MediaPlayer-GLES" "MediaPlayer-GLES-FlowAbs" "MediaPlayer-GLES-QrMarker"
FOR %%m in (%modules%) DO (
gradlew %%~m:clean %%~m:build %%~m:bintrayUpload -PbintrayUser=%username% -PbintrayKey=%apikey% -P... | @echo off
setlocal EnableDelayedExpansion
REM Uploading all modules at once (with one gradle command) does not work any more, so a separate command for each module must be issued
SET username=%1
SET apikey=%2
SET modules="MediaPlayer" "MediaPlayer-DASH" "MediaPlayer-GLES" "MediaPlayer-GLES-FlowAbs" "MediaPlayer-GLES-... |
Revert ChangeVersion on error in build script | SETLOCAL
SET Version=2.0.1
SET Prerelease=auto
CALL Tools\Build\FindVisualStudio.bat || GOTO Error0
REM Updating the build version.
PowerShell -ExecutionPolicy ByPass .\ChangeVersion.ps1 %Version% %Prerelease% || GOTO Error0
WHERE /Q NuGet.exe || ECHO ERROR: Please download the NuGet.exe command line tool. &&... | SETLOCAL
SET Version=2.0.1
SET Prerelease=auto
CALL Tools\Build\FindVisualStudio.bat || GOTO Error0
REM Updating the build version.
PowerShell -ExecutionPolicy ByPass .\ChangeVersion.ps1 %Version% %Prerelease% || GOTO Error0
WHERE /Q NuGet.exe || ECHO ERROR: Please download the NuGet.exe command line tool. &&... |
Add cygwin to env path for windows dev | ECHO OFF
SET PATH=%PATH%;%PROJECT_HOME%\misc\env\user\win32\scripts
REM SET PATH=%PATH%;C:\Dev\vagrant\bin
ECHO User Environment Setup.
| ECHO OFF
SET PATH=%PATH%;%PROJECT_HOME%\misc\env\user\win32\scripts
REM SET PATH=%PATH%;C:\Dev\vagrant\bin
SET PATH=%PATH%;C:\cygwin64\bin
ECHO User Environment Setup.
|
Build script fixes for UWP. | @echo off
set fdir="%ProgramFiles%\MSBuild\14.0\Bin"
if not exist %fdir% (
set fdir="%ProgramFiles(x86)%\MSBuild\14.0\Bin"
)
set msbuild=%fdir%\msbuild.exe
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
%msbuild% WebSocket4Net.UWP.sln /p:Configuration=Debug /t:Clean;Rebuild /p:OutputPath=..\bi... | @echo off
set fdir="%ProgramFiles%\MSBuild\14.0\Bin"
if not exist %fdir% (
set fdir="%ProgramFiles(x86)%\MSBuild\14.0\Bin"
)
set msbuild=%fdir%\msbuild.exe
set outDir=bin\UWP\Debug
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
%msbuild% WebSocket4Net.UWP.sln /p:Configuration=Debug /t:Clean;Re... |
Add support for the Preview version of Visual Studio. | @echo off
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools
if exist "%TOOLSDIR%" goto found
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools
if exist "%TOOLSDIR%" goto found
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studi... | @echo off
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools
if exist "%TOOLSDIR%" goto found
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools
if exist "%TOOLSDIR%" goto found
set TOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studi... |
Add copyright note and description to Windows-specific starter. | @python -m shcol %*
| :: Copyright (c) 2013-2015, Sebastian Linke
:: Released under the Simplified BSD license
:: (see LICENSE file for details).
:: A starter to invoke `shcol` from the Windows command-line.
@python -m shcol %*
|
Exit on install if node is not installed. | @echo off
:: change directory to etherpad-lite root
cd /D "%~dp0\.."
echo Checking node version...
set check_version="if(['6','8'].indexOf(process.version.split('.')[1].toString()) === -1) { console.log('You are running a wrong version of Node. Etherpad Lite requires v0.6.x or v0.8.x'); process.exit(1) }"
cmd /C node... | @echo off
:: change directory to etherpad-lite root
cd /D "%~dp0\.."
:: Is node installed?
cmd /C node -e "" || ( echo "Please install node.js ( http://nodejs.org )" && exit /B 1 )
echo _
echo Checking node version...
set check_version="if(['6','8'].indexOf(process.version.split('.')[1].toString()) === -1) { console... |
Update example .bat with latest client version | @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 30 -clientVersion "0.57" -password "" -tcpLobby "149.202.51.185" 25565
@echo.
@echo Restarting server...
@echo.
goto start
| @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 30 -clientVersion "0.581" -password "" -tcpLobby "149.202.51.185" 25565
@echo.
@echo Restarting server...
@echo.
goto start
|
Use $G instead of > for doskey | @echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul>>$*
rem Easier navigation
doskey cd=cd /D $*
doskey cd..=cd ..
doskey ..=cd ..
doskey ... | @echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul$G$G$*
rem Easier navigation
doskey cd=cd /D $*
doskey cd..=cd ..
doskey ..=cd ..
doske... |
Add note about test in windows | mkdir build
cd build
REM Configure step
cmake .. ^
-GNinja ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-DCMAKE_EXE_LINKER_FLAGS="/FORCE:MULTIPLE"
REM Note: /FORCE:MULTIPLE is needed because of a bug in MSVC 14.1
REM in dealing wit... | mkdir build
cd build
REM Configure step
cmake .. ^
-GNinja ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-DCMAKE_EXE_LINKER_FLAGS="/FORCE:MULTIPLE"
REM Note: /FORCE:MULTIPLE is needed because of a bug in MSVC 14.1
REM in dealing wit... |
Delete .pyc files when making build. Make sure that data/configuration directory exists in the build. | @rem Makes a build directory of the viewer, so that you can run the NSIS install script
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including Qt core/ui/network/webkit/phonon dll's, and also VS2008
@rem redistributable (vcredist_x86.exe)
@echo off
r... | @rem Makes a build directory of the viewer, so that you can run the NSIS install script
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, and also VS2008 redistributable (vcredist_x86.exe)
@echo off
rmdir build /S /Q
md build
copy readme.txt build
xcopy ... |
Check if Appveyor fails when test fails |
cd bin
:: ### Clone MNE-CPP test data ###
call git clone https://github.com/mne-tools/mne-cpp-test-data.git mne-cpp-test-data
cd ..
|
cd bin
:: ### Clone MNE-CPP test data ###
:: call git clone https://github.com/mne-tools/mne-cpp-test-data.git mne-cpp-test-data
cd ..
|
Add dir after gfortran command to check which files we have there. | copy mpi.f.single mpi.f
copy mpif.h.single mpif.h
gfortran -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f stepz.f timerec.f initrun.f input.f output.f mpi.f
copy genesis2 %LI... | copy mpi.f.single mpi.f
copy mpif.h.single mpif.h
gfortran -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f stepz.f timerec.f initrun.f input.f output.f mpi.f
echo "DEBUG Info.... |
Fix work in path with spaces on windows. | set PWD=%~dp0
start /MIN %PWD%dbserver\bin\openmole-dbserver.bat
mkdir "%UserProfile%\.openmole\.tmp"
set ran="%UserProfile%\.openmole\.tmp\%random%"
java -d64 -version >nul 2>&1
if errorlevel 1 goto is32bit
set FLAG="-XX:+UseCompressedOops"
:is32bit
java -Dosgi.locking=none -Dopenmole.location="%PWD%\" -Dosgi.classloa... | set PWD=%~dp0
start /MIN "%PWD%dbserver\bin\openmole-dbserver.bat"
mkdir "%UserProfile%\.openmole\.tmp"
set ran="%UserProfile%\.openmole\.tmp\%random%"
java -d64 -version >nul 2>&1
if errorlevel 1 goto is32bit
set FLAG="-XX:+UseCompressedOops"
:is32bit
java -Dosgi.locking=none -Dopenmole.location="%PWD%\" -Dosgi.classl... |
Add mlcp batch file for ingesting baby name data | mlcp.bat IMPORT -host localhost -port 8200 -username admin -password admin -input_file_path .\src\test\resources\Most_Popular_Baby_Names_NYC.csv --input_file_type delimited_text -document_type xml -delimited_root_name baby-name -output_collections baby | |
Add a post-build batch file to delete unwanted files from the release folders | del "bin\x86\Release Dick\*.xml"
del "bin\x86\Release Dick\devtools_resources.pak"
del "bin\x86\Release Duck\*.xml"
del "bin\x86\Release Duck\devtools_resources.pak" | |
Add output file name to bem download in win ci | :: Go to bin directory
cd bin
:: Clone MNE-CPP test data
call git clone https://github.com/mne-tools/mne-cpp-test-data.git mne-cpp-test-data
curl https://www.dropbox.com/s/464j97jbaef7q3n/sample-5120-5120-5120-bem-sol.fif?dl=1 -L
curl https://www.dropbox.com/s/tkrl3p1kifbzjo1/sample-5120-5120-5120-bem.fif?dl=1 -L
:... | :: Go to bin directory
cd bin
:: Clone MNE-CPP test data
call git clone https://github.com/mne-tools/mne-cpp-test-data.git mne-cpp-test-data
curl https://www.dropbox.com/s/464j97jbaef7q3n/sample-5120-5120-5120-bem-sol.fif?dl=1 -L -o sample-5120-5120-5120-bem-sol.fif
curl https://www.dropbox.com/s/tkrl3p1kifbzjo1/sam... |
Add the command file to build the VNEXT project | CD SimpleIdentityServer\VNEXT\
call powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
call dnvm upgrade
call dnu restore
dnu build src\SimpleIdentityServer.Host
dnu build src\SimpleIden... | |
Add SDK7.0A as one of the possible defaults during the build of coinstaller\CLI for NetKVM driver | @echo off
call :set_sdk_path
call :setshortpath PSDK_INC_PATH %__sdk_path__%\Include
call :setshortpath PSDK_LIB_PATH %__sdk_path__%\Lib
call :clean_sdk_path
goto :eof
:setshortpath
set %1=%~s2
goto :eof
:set_sdk_path
set __sdk_path__="C:\Program Files\Microsoft SDKs\Windows\v6.0A"
if NOT "%SDK_PATH%"=="" set __sdk_p... | @echo off
call :set_sdk_path
call :setshortpath PSDK_INC_PATH %__sdk_path__%\Include
call :setshortpath PSDK_LIB_PATH %__sdk_path__%\Lib
call :clean_sdk_path
goto :eof
:setshortpath
set %1=%~s2
goto :eof
:set_sdk_path
set __sdk_path__="C:\Program Files\Microsoft SDKs\Windows\v6.0A"
if not exist %__sdk_path__% set __s... |
Change win 32 tool version to 50 | set Version=1.0.45
call tools\nuget.exe install JetBrains.runAs -Version %Version% -o win32
copy win32\JetBrains.runAs.%Version%\tools\x64\JetBrains.runAs.exe win32\x64 /Y
copy win32\JetBrains.runAs.%Version%\tools\x86\JetBrains.runAs.exe win32\x86 /Y
call mvn package
call createPlugin.cmd | set Version=1.0.50
call tools\nuget.exe install JetBrains.runAs -Version %Version% -o win32
copy win32\JetBrains.runAs.%Version%\tools\x64\JetBrains.runAs.exe win32\x64 /Y
copy win32\JetBrains.runAs.%Version%\tools\x86\JetBrains.runAs.exe win32\x86 /Y
call mvn package
call createPlugin.cmd |
USe FAKE prerelease for testing | @echo off
cls
"tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion"
"tools\nuget\nuget.exe" "install" "FSharp.Formatting.CommandTool" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
"tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersi... | @echo off
cls
"tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
"tools\nuget\nuget.exe" "install" "FSharp.Formatting.CommandTool" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
"tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" ... |
Use MSBuild 14 from MS Build Tools 2015 | @echo off
setlocal
cd "%~dp0"
set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
if not exist "%MSBUILDEXE%" (
echo The .NET Framework 4.0 does not appear to be installed on this
echo machine, which is required to build the solution.
exit /b 1
)
if "%1"=="docs" call :docs %2 %3 %4 %... | @echo off
setlocal
cd "%~dp0"
if "%PROCESSOR_ARCHITECTURE%"=="x86" set MSBUILD=%ProgramFiles%
if defined ProgramFiles(x86) set MSBUILD=%ProgramFiles(x86)%
set MSBUILD=%MSBUILD%\MSBuild\14.0\bin\msbuild
if not exist "%MSBUILD%" (
echo Microsoft Build Tools 2015 does not appear to be installed on this
echo machin... |
Build versionupdater in bin folder | ECHO ON
SETLOCAL
SET VERSION=%1
rmdir obj /s /q
rmdir Release /s /q
msbuild tools\versionupdater\versionupdater.csproj /p:Configuration=Release /p:OutputPath=.. || exit /B 1
tools\versionupdater -v %VERSION%
| ECHO ON
SETLOCAL
SET VERSION=%1
rmdir obj /s /q
rmdir Release /s /q
msbuild tools\versionupdater\versionupdater.csproj /p:Configuration=Release /p:OutputPath=..\bin || exit /B 1
tools\bin\versionupdater -v %VERSION% || exit /B 1 |
Use "@echo off" for brevity | @set JAVA_OPTS=-Djava.awt.headless=true
@set ROOT_DIR=%~dp0
@cd "%ROOT_DIR%"
@set CLASS_PATH="%ROOT_DIR%\*;."
@java %JAVA_OPTS% -cp %CLASS_PATH% scalive.AgentLoader %ROOT_DIR% %*
| @echo off
set JAVA_OPTS=-Djava.awt.headless=true
set ROOT_DIR=%~dp0
cd "%ROOT_DIR%"
set CLASS_PATH="%ROOT_DIR%\*;."
java %JAVA_OPTS% -cp %CLASS_PATH% scalive.AgentLoader %ROOT_DIR% %*
|
Increase loop count in std uni test to improve reliabilty | universe = standard
executable = job_ckpt_memory-file_std.cndr.exe.$$(OPSYS).$$(ARCH)
output = job_ckpt_memory-file_std.out
error = job_ckpt_memory-file_std.err
log = job_ckpt_memory-file_std.log
priority = 6
arguments = -f x_job_ckpt_memory-file_std.t1 -s 10000 -... | universe = standard
executable = job_ckpt_memory-file_std.cndr.exe.$$(OPSYS).$$(ARCH)
output = job_ckpt_memory-file_std.out
error = job_ckpt_memory-file_std.err
log = job_ckpt_memory-file_std.log
priority = 6
arguments = -f x_job_ckpt_memory-file_std.t1 -s 10000 -... |
Update Kudu 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/93edfcb6e9c75d395e805825f5051e707bd50bb8
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/af63dea4db22bae730dba99d2090c27bedcde159
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:error
if %coun... |
Fix password reset on Windows | @echo off
net session >nul 2>&1
if NOT %errorLevel% == 0 (
echo Failure: Current permissions inadequate. Please run as administrator.
pause
exit /b 1
)
set /p newpw=Please enter the new password for user 'admin':
"%~dp0\urbackup_srv.exe" --cmdline --no-server --plugin urbackupserver.dll --set_admin_pw... | @echo off
net session >nul 2>&1
if NOT %errorLevel% == 0 (
echo Failure: Current permissions inadequate. Please run as administrator.
pause
exit /b 1
)
set /p newpw=Please enter the new password for user 'admin':
"%~dp0\urbackup_srv.exe" --cmdline --no-server --plugin cryptoplugin.dll --plugin urbacku... |
Revert "Moved the script directly to AppVeyor" | @echo off
echo Downloading CUDA toolkit 8
appveyor DownloadFile https://developer.nvidia.com/compute/cuda/8.0/Prod2/network_installers/cuda_8.0.61_win10_network-exe -FileName setup.exe
rem appveyor DownloadFile https://www.dropbox.com/s/ll2ay531hw3i1p7/cuda.zip?dl=1
rem 7z x cuda.zip -ocuda
rem cd cuda
echo Installin... | |
Add setlocal to make sure settings only apply to this session. | set "PATH=%PATH%;C:\Program Files\CMake\bin"
if %1 == -E (
cmake.exe %*
) else (
cmake.exe -G "NMake Makefiles" -DCMAKE_LINK_FLAGS:implib=libluajit.lib -DLUALIB=libluajit %*
)
| setlocal
set "PATH=%PATH%;C:\Program Files\CMake\bin"
if %1 == -E (
cmake.exe %*
) else (
cmake.exe -G "NMake Makefiles" -DCMAKE_LINK_FLAGS:implib=libluajit.lib -DLUALIB=libluajit %*
)
|
Fix character corruption in Windows | @echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set REDPEN_HOME=%%~dpfI
set REDPEN_CLASSPATH=%REDPEN_HOME%/conf;%REDPEN_HOME%/lib/*
set JAVA_OPTS=%JAVA_OPTS%
"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%REDPEN_CLASSPATH%" cc.redpen.Main %*... | @echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set REDPEN_HOME=%%~dpfI
set REDPEN_CLASSPATH=%REDPEN_HOME%/conf;%REDPEN_HOME%/lib/*
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%REDPEN_CLASSPA... |
Remove more temporary build files from the set zipped. | cd ..
del/q scite.zip
zip scite.zip scintilla\*.* scintilla\*\*.* scite\*.* scite\*\*.* scite\*\*\*.* scite\*\*\*\*.* -x *.o -x *.obj -x *.lib -x *.dll -x *.exe -x *.pdb -x *.res -x *.exp
cd scite
| cd ..
del/q scite.zip
zip scite.zip scintilla\*.* scintilla\*\*.* scite\*.* scite\*\*.* scite\*\*\*.* scite\*\*\*\*.* -x *.o -x *.obj -x *.lib -x *.dll -x *.exe -x *.pdb -x *.res -x *.exp -x *.ncb -x *.sbr -x *.ilk -x *.idb
cd scite
|
Check first if paket.exe is already downloaded in ..paket folder | .paket\paket.bootstrapper.exe
if errorlevel 1 (
exit "There was an error with paket.bootstrapper"
)
IF EXIST paket.lock (
.paket\paket.exe restore
if errorlevel 1 (
exit "There was an error restoring packages from paket.lock"
)
)
IF EXIST init.fsx (
.paket\paket.exe install
packages\FAKE\tools... | IF NOT EXIST .paket\paket.exe (
.paket\paket.bootstrapper.exe
if errorlevel 1 (
exit "There was an error with paket.bootstrapper"
)
)
IF EXIST paket.lock (
.paket\paket.exe restore
if errorlevel 1 (
exit "There was an error restoring packages from paket.lock"
)
)
IF EXIST init.fsx ... |
Add Windows batch file for creating a boostrap.dat for Krugercoin | @echo off
setlocal enableDelayedExpansion
set KRUGERDIR=%APPDATA%\Krugercoin\blocks
for /F %%x in ('dir /B/D/ON %KRUGERDIR%\blk*.*') do (
IF NOT [!B!] == [] set B=!B!+
set FILENAME=%KRUGERDIR%\%%x
set B=!B!"!FILENAME!"
)
copy /b %B% bootstrap.dat | |
Exclude nupkg script from DMLib's nuget package. | pushd %~dp0
rmdir /s /q .\lib
mkdir .\lib\net45
mkdir .\lib\netstandard2.0
pushd ..\..
del /q /f *.nupkg
copy .\lib\bin\Release\Microsoft.WindowsAzure.Storage.DataMovement.dll .\tools\nupkg\lib\net45
copy .\lib\bin\Release\Microsoft.WindowsAzure.Storage.DataMovement.pdb .\tools\nupkg\lib\net45
copy .\lib\bin\Release\Mi... | pushd %~dp0
rmdir /s /q .\package
mkdir .\package\lib\net45
mkdir .\package\lib\netstandard2.0
pushd ..\..
del /q /f *.nupkg
copy .\lib\bin\Release\Microsoft.WindowsAzure.Storage.DataMovement.dll .\tools\nupkg\package\lib\net45
copy .\lib\bin\Release\Microsoft.WindowsAzure.Storage.DataMovement.pdb .\tools\nupkg\package... |
Tweak to the script used to modified the version in sipXtapi.h -- it removed the start of comment resulting in compiler errors. | call setRepoEnvVar
sed -i "s/SIPXTAPI_BUILDNUMBER.*\".*\"/SIPXTAPI_BUILDNUMBER \"%REPRO_VERSION%\"/g" ..\..\include\tapi\sipXtapi.h
sed -i "s/SIPXTAPI_BUILD_WORD.*/SIPXTAPI_BUILD_WORD 2,9,1,%REPRO_VERSION%/g" ..\..\include\tapi\sipXtapi.h
sed -i "s/SIPXTAPI_FULL_VERSION.*\".*\"/SIPXTAPI_FULL_VERSION \"2.9.1.%REPRO_... | call setRepoEnvVar
sed -i "s/SIPXTAPI_BUILDNUMBER.*\".*\"/SIPXTAPI_BUILDNUMBER \"%REPRO_VERSION%\"/g" ..\..\include\tapi\sipXtapi.h
sed -i "s/SIPXTAPI_BUILD_WORD [0-9,,]*/SIPXTAPI_BUILD_WORD 2,9,1,%REPRO_VERSION%/g" ..\..\include\tapi\sipXtapi.h
sed -i "s/SIPXTAPI_FULL_VERSION.*\".*\"/SIPXTAPI_FULL_VERSION \"2.9.1.... |
Use zlib and openssl from conda-forge for windows | "%PYTHON%" -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
if errorlevel 1 exit 1
| set "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True"
set "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True"
set "GRPC_PYTHON_CFLAGS=/DPB_FIELD_16BIT"
"%PYTHON%" -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
if errorlevel 1 exit 1
|
Fix path to MSYS2 binaries | mkdir c:\projects\plib-build
if "%APPVEYOR_REPO_BRANCH%"=="appveyor_test" (
set "BOOST_ARGS=-DPLIB_TESTS_STATIC=ON -DBOOST_ROOT=C:\Libraries\boost_1_59_0"
)
if "%USE_MINGW%"=="1" (
cd c:\projects\plib-build
set "PATH=C:\MinGW\bin;C:\Program Files (x86)\CMake\bin"
set BUILD_TYPE=-DCMAKE... | mkdir c:\projects\plib-build
if "%APPVEYOR_REPO_BRANCH%"=="appveyor_test" (
set "BOOST_ARGS=-DPLIB_TESTS_STATIC=ON -DBOOST_ROOT=C:\Libraries\boost_1_59_0"
)
if "%USE_MINGW%"=="1" (
cd c:\projects\plib-build
set "PATH=C:\MinGW\bin;C:\Program Files (x86)\CMake\bin"
set BUILD_TYPE=-DCMAKE... |
Update Windows Release build script | @echo off
set cwd=%cd%
cd /D %~dp0
set DevCmd="C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"
set MSBuildOptions=/v:m /p:Configuration=Release
set BuildDir64="build-exe-64"
set BuildDir32="build-exe-32"
call %DevCmd%
echo Building 64-bit tev...
mkdir %BuildDir64%
cd %Buil... | @echo off
set cwd=%cd%
cd /D %~dp0
set DevCmd="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
set MSBuildOptions=/v:m /p:Configuration=Release
set BuildDir64="build-exe-64"
set BuildDir32="build-exe-32"
call %DevCmd%
echo Building 64-bit tev...
mkdir %BuildDir64%
cd %Build... |
Add bat for build release VC++2015 | call "%VS140COMNTOOLS%....\VC\bin\vcvars32.bat"
"%VS140COMNTOOLS%..\ide\devenv" MediaInfoLib.sln /Build "Release|Win32" | |
Support for cursor.png mouse cursor file | @echo off
echo Building your theme...
mkdir temp
echo Building fonts...
bin\makebundle.exe temp\8x8.fnt Template\font8x8
bin\makebundle.exe temp\7x6.fnt Template\font7x6
bin\makebundle.exe temp\4x6.fnt Template\font4x6
echo Copying colors...
copy /y Template\colors.txt temp\colors.txt
echo Copying graphics...
copy /y T... | @echo off
echo Building your theme...
mkdir temp
echo Building fonts...
bin\makebundle.exe temp\8x8.fnt Template\font8x8
bin\makebundle.exe temp\7x6.fnt Template\font7x6
bin\makebundle.exe temp\4x6.fnt Template\font4x6
echo Copying colors...
copy /y Template\colors.txt temp\colors.txt
echo Copying graphics...
copy /y T... |
Use short filenames on Windows becauses spaces are evil | @echo off
setlocal EnableDelayedExpansion
SET OLDCD=%CD%
cd %~dp0..
SET JAVA_OPTS= -Xmx1g
SET CLASS=com.github.rnewson.couchdb.lucene.Main
SET CLASSPATH="conf"
for %%i in ("lib\*.jar") do @SET CLASSPATH=!CLASSPATH!;"%%~dpfi"
java %JAVA_OPTS% -cp %CLASSPATH% %CLASS% > nul
cd %OLDCD% | @echo off
setlocal EnableDelayedExpansion
SET OLDCD=%CD%
cd %~dp0..
SET JAVA_OPTS= -Xmx1g
SET CLASS=com.github.rnewson.couchdb.lucene.Main
SET CLASSPATH="conf"
for %%i in ("lib\*.jar") do @SET CLASSPATH=!CLASSPATH!;"%%~sdpfi"
java %JAVA_OPTS% -cp %CLASSPATH% %CLASS% > nul
cd %OLDCD% |
Update fix Windows activation script | :: Store existing env vars and set to this conda env
:: so other installs don't pollute the environment.
@if defined CARTOPY_OFFLINE_SHARED (
set "_CONDA_SET_CARTOPY_OFFLINE_SHARED=%CARTOPY_OFFLINE_SHARED%"
)
@set "CARTOPY_OFFLINE_SHARED=%CONDA_PREFIX%\Library\share\cartopy"
| :: Store existing env vars and set to this conda env
:: so other installs don't pollute the environment.
@if defined CARTOPY_OFFLINE_SHARED (
set "_CONDA_SET_CARTOPY_OFFLINE_SHARED=%CARTOPY_OFFLINE_SHARED%"
)
@set "CARTOPY_OFFLINE_SHARED=%CONDA_PREFIX%\share\cartopy"
|
Patch for version 0.72 update | @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.71" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto start
| @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.72" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto start
|
Use a specific version (commit) for kudu-script | @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 http://github.com/projectkudu/KuduScript/tarball/master
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:error
if %counter% GEQ %attempts% goto :lastError... | @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 http://github.com/projectkudu/KuduScript/tarball/99816ade95addbfa6cfae7d74b7b616e2eebf772
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:error
if %count... |
Fix boostrap not going to end when successful, which lead to working directory not being correctly reset. | @echo off
:: set batch file directory as current
pushd "%~dp0"
set SHARPMAKE_EXECUTABLE=bin\debug\Sharpmake.Application.exe
call CompileSharpmake.bat Sharpmake.Application/Sharpmake.Application.csproj Debug AnyCPU
if %errorlevel% NEQ 0 goto error
set SM_CMD=%SHARPMAKE_EXECUTABLE% /sources("Sharpmake.Main.sharpmake.... | @echo off
:: set batch file directory as current
pushd "%~dp0"
set SHARPMAKE_EXECUTABLE=bin\debug\Sharpmake.Application.exe
call CompileSharpmake.bat Sharpmake.Application/Sharpmake.Application.csproj Debug AnyCPU
if %errorlevel% NEQ 0 goto error
set SM_CMD=%SHARPMAKE_EXECUTABLE% /sources("Sharpmake.Main.sharpmake.... |
Delete the bytecode from the library and tests before running the tests for the first time -- like the Unix Makefile does. This avoids not catching problems in the bytecode generator and/or bytecode marshalling. | @rem Run Tests. Run the regression test suite.
@rem Plain "rt" runs Release build, arguments passed on to regrtest.
@rem "rt -d" runs Debug build similarly, after shifting off -d.
@set _exe=python
@if "%1" =="-d" set _exe=python_d
@if "%1" =="-d" shift
%_exe% ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
@set _ex... | @rem Run Tests. Run the regression test suite.
@rem Plain "rt" runs Release build, arguments passed on to regrtest.
@rem "rt -d" runs Debug build similarly, after shifting off -d.
@set _exe=python
@if "%1" =="-d" set _exe=python_d
@if "%1" =="-d" shift
@del ..\Lib\*.pyc
@del ..\Lib\*.pyo
@del ..\Lib\test\*.pyc
@del ..... |
Remove rpath in windows stack build | set "BINARY_HOME=%PREFIX%\bin"
set "PACKAGE_HOME=%PREFIX%\share\%PKG_NAME%-%PKG_VERSION%-%PKG_BUILDNUM%"
set "STACK_ROOT=%PACKAGE_HOME%\stackroot"
mkdir "%BINARY_HOME%" || goto :error
mkdir "%PACKAGE_HOME%" || goto :error
mkdir "%STACK_ROOT%" || goto :error
stack --local-bin-path "%PREFIX%\bin" ^
--extra-inc... | set "BINARY_HOME=%PREFIX%\bin"
set "PACKAGE_HOME=%PREFIX%\share\%PKG_NAME%-%PKG_VERSION%-%PKG_BUILDNUM%"
set "STACK_ROOT=%PACKAGE_HOME%\stackroot"
mkdir "%BINARY_HOME%" || goto :error
mkdir "%PACKAGE_HOME%" || goto :error
mkdir "%STACK_ROOT%" || goto :error
stack --local-bin-path "%PREFIX%\bin" ^
--extra-inc... |
Build debug overwrite files always | @ECHO OFF
SET release=6.1.6
SET comment=
SET version=%release%
IF [%comment%] EQU [] (SET version=%release%) ELSE (SET version=%release%-%comment%)
ReplaceIISExpressPortNumber.exe ..\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj %release%
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build-debug.proj"... | @ECHO OFF
SET release=6.1.6
SET comment=
SET version=%release%
IF [%comment%] EQU [] (SET version=%release%) ELSE (SET version=%release%-%comment%)
ReplaceIISExpressPortNumber.exe ..\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj %release%
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build-debug.proj"... |
Rollback to Visual Studio 2017 | @echo off
cd ../..
if not exist "temp" mkdir temp
cd temp
cmake -DCMAKE_INSTALL_PREFIX=../temp/install -G "Visual Studio 16 2019" -A x64 ..
if %errorlevel% neq 0 exit /b %errorlevel%
cd ../build/VisualStudio
| @echo off
cd ../..
if not exist "temp" mkdir temp
cd temp
cmake -DCMAKE_INSTALL_PREFIX=../temp/install -G "Visual Studio 15 2017 Win64" ..
if %errorlevel% neq 0 exit /b %errorlevel%
cd ../build/VisualStudio
|
Delete OpenAL module from build from now on, because it's not yet used. | @rem Makes a build of the viewer
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including gtkmm & the Visual Studio 9 runtime
@echo off
rmdir build /S /Q
md build
xcopy bin\*.* build /S /C
del build\data\configuration\*.xml
rmdir build\testing /S /Q... | @rem Makes a build of the viewer
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including gtkmm & the Visual Studio 9 runtime
@echo off
rmdir build /S /Q
md build
xcopy bin\*.* build /S /C
del build\data\configuration\*.xml
rmdir build\testing /S /Q... |
Fix windows build script for hadoop external. | rm -rf ..\..\install\hdfs
mkdir ..\..\install\hdfs
mkdir ..\..\install\hdfs\conf
cp -r %PACKAGE_NAME%\webapps ..\..\install\hdfs
cp -r %PACKAGE_NAME%\lib ..\..\install\hdfs
cp %PACKAGE_NAME%\hadoop-0.20.0-p1-core.jar ..\..\install\hdfs\lib
cp %PACKAGE_NAME%\src\hdfs\hdfs-default.xml ..\..\install\hdfs\conf | rm -rf ..\..\install\hdfs
mkdir ..\..\install\hdfs
mkdir ..\..\install\hdfs\conf
cp -r %PACKAGE_SRC_NAME%\webapps ..\..\install\hdfs
cp -r %PACKAGE_SRC_NAME%\lib ..\..\install\hdfs
cp %PACKAGE_SRC_NAME%\hadoop-0.20.0-p1-core.jar ..\..\install\hdfs\lib
cp %PACKAGE_SRC_NAME%\src\hdfs\hdfs-default.xml ..\..\inst... |
Add missing headers and source files | @echo off
mkdir build
cd build
rem Need to handle Python 3.x case at some point (Visual Studio 2010)
if %ARCH%==32 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008"
)
)
if %ARCH%==64 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008 Win64"
)
)
cmake .. -G %CMAKE_GENERATO... | @echo off
mkdir build
cd build
rem Need to handle Python 3.x case at some point (Visual Studio 2010)
if %ARCH%==32 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008"
)
)
if %ARCH%==64 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008 Win64"
)
)
cmake .. -G %CMAKE_GENERATO... |
Fix onnxruntime version for CI failure | @echo off
set CUDA_VER=%1
set PY_VER=%2
set "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VER%"
set PY_PATH=C:\Development\Python\Python%PY_VER%
set PATH=%CUDA_PATH%\bin;%CUDA_PATH%\libnvvp;%PY_PATH%;%PY_PATH%\Scripts\%PATH%
pip install --pre cupy-cuda101
pip install -e .[test]
pip install "onn... | @echo off
set CUDA_VER=%1
set PY_VER=%2
set "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VER%"
set PY_PATH=C:\Development\Python\Python%PY_VER%
set PATH=%CUDA_PATH%\bin;%CUDA_PATH%\libnvvp;%PY_PATH%;%PY_PATH%\Scripts\%PATH%
pip install --pre cupy-cuda101
pip install -e .[test]
pip install "onn... |
Use default MongoDB port in database update script | :: Start Emotion in Motion in Windows Machine
:: Imports latest dataBase dump (mongod needs to be running)
mongorestore --port 28017 -d emotion-in-motion-dev --drop ./mongodb-dump/emotion-in-motion-dev
mongorestore --port 28017 -d emotion-in-motion-test --drop ./mongodb-dump/emotion-in-motion-test
mongorestore --port ... | :: Start Emotion in Motion in Windows Machine
:: Imports latest dataBase dump (mongod needs to be running)
mongorestore --port 27017 -d emotion-in-motion-dev --drop ./mongodb-dump/emotion-in-motion-dev
mongorestore --port 27017 -d emotion-in-motion-test --drop ./mongodb-dump/emotion-in-motion-test
mongorestore --port ... |
Add script to run unit tests on Windows CE. | set QT=%1
set CETEST=%QT%\bin\cetest.exe
set CETEST_ARGS=-cache %QT%\.qmake.cache -libpath \Windows -f
%CETEST% %CETEST_ARGS% tests\auto\qmallocpool\qmallocpool.pro
%CETEST% %CETEST_ARGS% tests\auto\qpacket\qpacket.pro
%CETEST% %CETEST_ARGS% tests\auto\qpacketprotocol\qpacketprotocol.pro
%CETEST% %CETEST_ARGS% tests\... | |
Delete .pyc files when making build. Make sure that data/configuration directory exists in the build. | @rem Makes a build directory of the viewer, so that you can run the NSIS install script
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, including Qt core/ui/network/webkit/phonon dll's, and also VS2008
@rem redistributable (vcredist_x86.exe)
@echo off
r... | @rem Makes a build directory of the viewer, so that you can run the NSIS install script
@rem You should have a directory ..\viewerbuilddlls which has release versions of
@rem all dependency dlls, and also VS2008 redistributable (vcredist_x86.exe)
@echo off
rmdir build /S /Q
md build
copy readme.txt build
xcopy ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.