Delete logs.bat

Delete logs.bat

--- logs.bat
+++ logs.bat
@@ -1,8 +0,0 @@
-@echo off
-
-:START
-@echo STARTING LOGS
-@heroku logs --tail
-goto :START
-
-goto :START


added build environment for windows

added build environment for windows

--- BaseProject/win_build.bat
+++ BaseProject/win_build.bat
@@ -1,26 +0,0 @@
-@echo off
-echo.
-echo **************************************
-echo **************************************
-echo Building debug/release base_config.xml
-echo.
-echo.
-set source=%CD%\build\DEBUG_base_config.xml
-set destination=%CD%\res\values\base_config.xml
-set env="Debug"
-
-if "%1"=="release" (
-set source=%CD%\build\RELEASE_base_config.xml
-set env="Release"
-)
-
-xcopy %source% %destination% /y
-echo.
-echo.
-echo Build environment: %env%
-echo **************************************
-echo HELP: Setup release argument for
-echo production environment or nothing for
-echo development environment.
-echo **************************************
-echo.


Oops!  Use python_d.exe _before_ it's destroyed :-)

--- Tools/buildbot/clean.bat
+++ Tools/buildbot/clean.bat
@@ -1,6 +1,6 @@
 @rem Used by the buildbot "clean" step.
 call "%VS71COMNTOOLS%vsvars32.bat"
 cd PCbuild
-devenv.com /clean Debug pcbuild.sln
 @echo Deleting .pyc/.pyo files ...
 python_d.exe rmpyc.py
+devenv.com /clean Debug pcbuild.sln


Fix typeo

Fix typeo

--- scripts/appveyor_install.cmd
+++ scripts/appveyor_install.cmd
@@ -9,5 +9,5 @@
 SET BUILD_TYPE=Release
 IF "%APPVEYOR_REPO_BRANCH%"=="master" COPY config\nuget-master.config .\nuget.config
 IF "%APPVEYOR_REPO_BRANCH%"=="dev" COPY config\nuget-dev.config .\nuget.config
-IF "%APPVEYOR_REPO_BRANCH%"=="dev" BUILD_TYPE=Debug
+IF "%APPVEYOR_REPO_BRANCH%"=="dev" SET BUILD_TYPE=Debug
 IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" COPY config\nuget.config .\nuget.config


Remove now useless make.bat file

Remove now useless make.bat file

Signed-off-by: Austin Seipp <e672e89da89e9883fbf1dfdcea7453aa4c4c7323@gmail.com>

--- make.bat
+++ make.bat
@@ -1,5 +0,0 @@
-@echo off
-setlocal
-set PATH=C:\MinGW\bin:%PATH%
-C:\MinGW\bin\make.exe CC=C:\MinGW\bin\gcc.exe MINGW=YES
-endlocal


Receiving action as first argument; build directory doesn't consider language for gettext action

--- make.bat
+++ make.bat
@@ -4,18 +4,23 @@

 REM Command file for Sphinx documentation

-set PRODUCT=%1
-set LANGUAGE=%2
+set ACTION=%1
+set PRODUCT=%2
+set LANGUAGE=%3

-if %LANGUAGE% == "" (
-	set LANGAUGE=en
+if "%LANGUAGE%" == "" (
+	set LANGUAGE=en
 )

 if "%SPHINXBUILD%" == "" (
 	set SPHINXBUILD=python -msphinx
 )
-set SOURCEDIR=.
-set BUILDDIR=_build\%LANGUAGE%
+set SOURCEDIR=source
+
+set BUILDDIR=build
+if NOT "%ACTION%" == "gettext" (
+    set BUILDDIR=%BUILDDIR%\%LANGUAGE%
+)

 if "%1" == "" goto help

@@ -32,7 +37,7 @@
 	exit /b 1
 )

-%SPHINXBUILD% -M singlehtml %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -Dlanguage=%LANGUAGE% -t%PRODUCT%
+%SPHINXBUILD% -M %ACTION% %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -Dlanguage=%LANGUAGE% -t%PRODUCT%
 goto end

 :help


make.cmd: on `make install`, copy _nyagos

--- make.cmd
+++ make.cmd
@@ -88,6 +88,7 @@
         robocopy nyagos.d "%INSTALLDIR%\nyagos.d" /E
         if not exist "%INSTALLDIR%\lua53.dll" copy lua53.dll "%INSTALLDIR%\."
         copy nyagos.lua "%INSTALLDIR%\."
+        copy /-Y _nyagos "%INSTALLDIR%\."
         copy nyagos.exe "%INSTALLDIR%\."
         if errorlevel 1 (start %~0 install_ & exit /b)
         goto end


SOLR-9047: fix windows script

SOLR-9047: fix windows script

--- solr/server/scripts/cloud-scripts/zkcli.bat
+++ solr/server/scripts/cloud-scripts/zkcli.bat
@@ -15,4 +15,4 @@
   set "LOG4J_CONFIG=file:%SDIR%\log4j.properties"
 )

-"%JVM%" -Dlog4j.configuration="%LOG4J_PROPS%" -classpath "%SDIR%\..\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\..\lib\ext\*" org.apache.solr.cloud.ZkCLI %*
+"%JVM%" -Dlog4j.configuration="%LOG4J_CONFIG%" -classpath "%SDIR%\..\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\..\lib\ext\*" org.apache.solr.cloud.ZkCLI %*


updated mkvs.bat

updated mkvs.bat

--- etc/mkvs.bat
+++ etc/mkvs.bat
@@ -6,29 +6,29 @@

 set LUAWINAPIROOT=%CD%

-@set LUAROOT=c:/Lua/5.1
+@set LUAROOT=c:/Lua/5.1
 @set LUAINCLUDE=%LUAROOT%/include
 @set LUALIB=%LUAROOT%/lib

 @set LUACWRAPROOT=%LUAWINAPIROOT%/../luacwrap
-@set LUACWRAPINCLUDE=%LUACWRAPROOT%/src
+@set LUACWRAPINCLUDE=%LUACWRAPROOT%/include
 @set LUACWRAPLIB=%LUACWRAPROOT%/src

-@set MYCOMPILE=cl /nologo /MD /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE /DLUAWINAPI_API="" /I%LUAINCLUDE% /I%LUACWRAPINCLUDE%
+@set MYCOMPILE=cl /nologo /MD /O2 /W3 /c /GS- /D_CRT_SECURE_NO_DEPRECATE /DLUAWINAPI_API="" /I%LUAINCLUDE% /I%LUACWRAPINCLUDE%
 @set MYLINK=link /nologo /LIBPATH:%LUALIB% /LIBPATH:%LUACWRAPLIB%
 @set MYMT=mt /nologo

 cd src

-@rem create luawinapi.dll
-%MYCOMPILE% enumwindow.c gdihelpers.c gen_abstractions.c gen_structs.c luaaux.c stdcallthunk.c winapi.c wndproc.c
-%MYLINK% /DLL /MACHINE:X86 /MANIFEST /MANIFESTFILE:"luawinapi.dll.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /out:luawinapi.dll /DEF:luawinapi.def enumwindow.obj gdihelpers.obj gen_abstractions.obj gen_structs.obj luaaux.obj stdcallthunk.obj winapi.obj wndproc.obj lua5.1.lib luacwrap.lib kernel32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib Msimg32.lib
-if exist luawinapi.dll.manifest^
-  %MYMT% -manifest luawinapi.dll.manifest -outputresource:luawinapi.dll;2
+@rem create luawinapi.dll
+%MYCOMPILE% enumwindow.c gdihelpers.c gen_abstractions.c gen_structs.c stdcallthunk.c winapi.c wndproc.c luaaux.c
+%MYLINK% /DLL /MACHINE:X86 /MANIFEST /MANIFESTFILE:"luawinapi.dll.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /out:luawinapi.dll /DEF:luawinapi.def enumwindow.obj gdihelpers.obj gen_abstractions.obj gen_structs.obj stdcallthunk.obj winapi.obj wndproc.obj luaaux.obj lua5.1.lib luacwrap.lib kernel32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib Msimg32.lib
+if exist luawinapi.dll.manifest^
+  %MYMT% -manifest luawinapi.dll.manifest -outputresource:luawinapi.dll;2

-rem copy luawinapi.dll c:\Lua\5.1\clibs
+rem copy luawinapi.dll c:\Lua\5.1\clibs
 rem mkdir c:\Lua\5.1\lua\winapi
-rem copy *.lua c:\Lua\5.1\lua\winapi
+rem copy *.lua c:\Lua\5.1\lua\winapi

 @rem cleanup
 del *.obj *.manifest


git-svn-id: svn://192.168.1.10/public/CoffeeMud@7343 0d6f1817-ed0e-0410-87c9-987e46238f29

--- make.bat
+++ make.bat
@@ -1,4 +1,4 @@
-REM SET Java_Home=C:\java\j2sdk1.4.2_16
+REM SET Java_Home="C:\Program Files\Java\jdk1.6.0_01"
 set CLASSPATH=.;%Java_Home%\lib\dt.jar;%Java_Home%\lib\tools.jar;.\lib\js.jar;.\lib\jzlib.jar
 SET JAVACPATH=%Java_Home%\bin\javac -g -nowarn -deprecation


Add profiling to make.bat

Add profiling to make.bat

--- make.bat
+++ make.bat
@@ -10,4 +10,19 @@
     goto end
 )

+rem Note that `--python` removed from `mprof run` compared to BASH file counterpart
+if "%1" == "profile" (
+    set PROFILE=profile_%date:~-4%-%date:~3,2%-%date:~0,2%-%time:~0,2%-%time:~3,2%-%time:~6,2%
+	mprof run -C -T 1.0 calliope run calliope/example_model/run_profiling.yaml --profile --profile_filename=%PROFILE%.profile
+	pyprof2calltree -i %PROFILE%.profile -o %PROFILE%.calltree
+	gprof2dot -f callgrind %PROFILE%.calltree | dot -Tsvg -o %PROFILE%.callgraph.svg
+    goto end
+)
+
+if "%1" == "profile-clean" (
+    del profile_*
+	del mprofile_*
+    goto end
+)
+
 :end


make.cmd: `make install_catalog`

make.cmd: `make install_catalog`

--- make.cmd
+++ make.cmd
@@ -74,6 +74,10 @@
         if not exist "%INSTALLDIR%\lua53.dll" copy lua53.dll "%INSTALLDIR%\."
         goto end

+:install_catalog
+        robocopy catalog.d "%INSTALLDIR%\catalog.d" /E
+        goto end
+
 :icon
         makeicon.cmd
         goto end


build_all.bat: improved error handling

build_all.bat: improved error handling

On build errors in Matlab part (building mexopencv or building
AlphaGamma MEX files), display an error dialog, display error
details in Matlab window, and close Matlab only after user
clicked Ok in the error dialog.

--- build_all.bat
+++ build_all.bat
@@ -130,13 +130,13 @@
 echo Building mexopencv...

 set "MEXOPENCV_DIR=%ROOT_DIR%\external\mexopencv"
-matlab -nodisplay -nodesktop -nosplash -minimize -wait -r "try, addpath('%MEXOPENCV_DIR%'); mexopencv.make('opencv_path', '%OPENCV_INSTALL_DIR%', 'progress', true); catch e, exit(-1); end; exit(0);"
+matlab -nodisplay -nodesktop -nosplash -minimize -wait -r "try, addpath('%MEXOPENCV_DIR%'); mexopencv.make('opencv_path', '%OPENCV_INSTALL_DIR%', 'progress', true, 'opencv_contrib', true); catch e, fprintf('Error while compiling mexopencv!\n\n'); display(getReport(e)); uiwait(msgbox('Failed to compile mexopencv! Check main window for error message, then press OK to close Matlab!', 'Error', 'error')); exit(-1); end; exit(0);"
 if %errorlevel% neq 0 exit /b %errorlevel%

 :: Build Matlab/MEX dependencies
 echo Building MEX files...

-matlab -nodisplay -nodesktop -nosplash -minimize -wait -r "try, run('%ROOT_DIR%\compile_code.m'); catch e, exit(-1); end; exit(0);"
+matlab -nodisplay -nodesktop -nosplash -minimize -wait -r "try, run('%ROOT_DIR%\compile_code.m'); catch e, fprintf('Error while compiling AlphaGamma MEX files!\n\n'); display(getReport(e)); uiwait(msgbox('Failed to compile AlphaGamma MEX files! Check main window for error message, then press OK to close Matlab!', 'Error', 'error')); exit(-1); end; exit(0);"
 if %errorlevel% neq 0 exit /b %errorlevel%

 :: End of script


On Windows, use TLS 1.2

On Windows, use TLS 1.2

Github no longer supports TLS 1.0 or 1.1, but TLS 1.2 is not the default
version of TLS for PowerShell.
See https://github.com/cretueusebiu/valet-windows/issues/78#issuecomment-369824766

Also convert a couple of tabs to spaces, and remove a trailing space.

--- mvnw.cmd
+++ mvnw.cmd
@@ -122,7 +122,7 @@

 set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
 FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO (
-	IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
+    IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
 )

 @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@@ -131,8 +131,8 @@
     echo Found %WRAPPER_JAR%
 ) else (
     echo Couldn't find %WRAPPER_JAR%, downloading it ...
-	echo Downloading from: %DOWNLOAD_URL%
-    powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
+    echo Downloading from: %DOWNLOAD_URL%
+    powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
     echo Finished downloading %WRAPPER_JAR%
 )
 @REM End of extension


1.8.0u40

--- g_shadow.cmd
+++ g_shadow.cmd
@@ -1,2 +1,2 @@
-"c:\Program Files\Java\jre1.8.0_20\bin\java.exe" -jar C:\Users\user\Documents\jfxtras-labs-samples\build\distributions\jfxtras-labs-samples-8.0-r4-SNAPSHOT-shadow.jar
+"c:\Program Files\Java\jre1.8.0_40\bin\java.exe" -jar C:\Users\user\Documents\jfxtras-labs-samples\build\distributions\jfxtras-labs-samples-8.0-r4-SNAPSHOT-shadow.jar
 pause


fix xunit argument.

fix xunit argument.

--- .scripts/TestCoverage.bat
+++ .scripts/TestCoverage.bat
@@ -1,7 +1,7 @@
 @echo off

 IF DEFINED APPVEYOR (
-    C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.exe" -targetargs:"src\Playground.Calculator.Test\bin\Debug\netcoreapp2.0\Playground.Calculator.Test.dll -noshadow -appveyor /xml .\xunit-results.xml" -threshold:1 -oldStyle -returntargetcode -filter:"+[Playground*]* -[Playground*.Test]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\coverage-dotnet.xml
+    C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.exe" -targetargs:"src\Playground.Calculator.Test\bin\Debug\netcoreapp2.0\Playground.Calculator.Test.dll -noshadow -appveyor -xml .\xunit-results.xml" -threshold:1 -oldStyle -returntargetcode -filter:"+[Playground*]* -[Playground*.Test]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\coverage-dotnet.xml
 ) ELSE (
 	echo No coverage without appveyor.
 )


Fix path escaping

Fix path escaping

If `%MAVEN_PROJECTBASEDIR%` contained whitespaces, Windows couldn't find the maven-wrapper.jar because the whitespaces were considered as argument separators.

--- mvnw.cmd
+++ mvnw.cmd
@@ -117,8 +117,8 @@
 :endReadAdditionalConfig

 SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-
-set WRAPPER_JAR=""%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar""
+
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
 set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain

 # avoid using MAVEN_CMD_LINE_ARGS below since that would loose parameter escaping in %*


修复打包批处理错误

修复打包批处理错误

--- pack.bat
+++ pack.bat
@@ -1,24 +1,23 @@
 @echo off
-set version=""
-set /p version=汾ţ
-@echo %version%
-if "%version%" neq "" set "version=%version%"
+set s_version=""
+set /p s_version=汾ţ
+if "%s_version%" neq "" set "s_version=--version-suffix %s_version%"
 if not exist build md build
 cd build
 del *.nupkg
 cd..
-dotnet pack src\Wodsoft.ComBoost.Core --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Security --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.AspNetCore.Security --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.AspNetCore --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Data.Core --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Data --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.EntityFramework --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.EntityFrameworkCore --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Mock --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Mvc --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Mvc.Data --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Storage --output ..\..\build --include-source %version%
-dotnet pack src\Wodsoft.ComBoost.Redis --output ..\..\build --include-source %version%
+dotnet pack src\Wodsoft.ComBoost.Core --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Security --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.AspNetCore.Security --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.AspNetCore --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Data.Core --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Data --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.EntityFramework --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.EntityFrameworkCore --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Mock --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Mvc --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Mvc.Data --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Storage --output ..\..\build --include-source %s_version%
+dotnet pack src\Wodsoft.ComBoost.Redis --output ..\..\build --include-source %s_version%
 pause


Removed old files

Removed old files

--- build.bat
+++ build.bat
@@ -1,6 +0,0 @@
-@REM
-@REM  Copyright (c) 1999-2011 Luca Garulli
-@REM
-call ant
-
-pause


for same

for same

--- build.bat
+++ build.bat
@@ -98,8 +98,9 @@
 	move real_app.box "%pwd%"\
 popd

+vagrant box remove ImpressCMSDevBoxTmp
 del /S /Q "%APP_TEMP_PATH%"
-vagrant box remove ImpressCMSDevBoxTmp
+rd /S /Q "%APP_TEMP_PATH%"

 echo Saved to real_app.box
 echo Now You can upload this where You want.


Added dotnet restore before packing

Added dotnet restore before packing

--- build.bat
+++ build.bat
@@ -10,6 +10,7 @@
 del solrexpress.*.nupkg

 REM BUILD SIGNED PACKAGES
+dotnet restore
 dotnet pack src/SolrExpress.Core/SolrExpress.Core.csproj --configuration release --output .
 dotnet pack src/SolrExpress.Solr4/SolrExpress.Solr4.csproj --configuration release --output .
 dotnet pack src/SolrExpress.Solr5/SolrExpress.Solr5.csproj --configuration release --output .


Setting NuGet P/R in build launcher.

Setting NuGet P/R in build launcher.

--- build.cmd
+++ build.cmd
@@ -1,5 +1,6 @@
 @echo Off

+set EnableNuGetPackageRestore=true
 set targets=%1

 if "%targets%" == "" (


Fix #38 Link to the Cython wiki was out of date

--- build.cmd
+++ build.cmd
@@ -4,7 +4,7 @@
 :: MS Windows SDK for Windows 7 and .NET Framework 4
 ::
 :: More details at:
-:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
+:: https://github.com/cython/cython/wiki/CythonExtensionsOnWindows

 IF "%DISTUTILS_USE_SDK%"=="1" (
     ECHO Configuring environment to build with MSVC on a 64bit architecture
@@ -18,4 +18,4 @@
     ECHO Using default MSVC build environment
 )

-CALL %*+CALL %*


Add msbuild screnarios for new solutions/projects.

--- build.cmd
+++ build.cmd
@@ -10,6 +10,7 @@
 	)
 )

+rem 32-bit client
 echo ">>>>>>>>>>>>>>>>>>>>>>>> DEBUG 32"
 msbuild source\BugTrap.vs2013.sln -p:Configuration=Debug -p:Platform=Win32
 if %errorlevel% neq 0 exit /b %errorlevel%
@@ -26,7 +27,7 @@
 msbuild source\BugTrap.vs2013.sln -p:Configuration=".NET Release" -p:Platform=Win32
 if %errorlevel% neq 0 exit /b %errorlevel%

-
+rem 64-bit client
 echo ">>>>>>>>>>>>>>>>>>>>>>>> DEBUG 64"
 msbuild source\BugTrap.vs2013.sln -p:Configuration=Debug -p:Platform=x64
 if %errorlevel% neq 0 exit /b %errorlevel%
@@ -42,3 +43,73 @@
 echo ">>>>>>>>>>>>>>>>>>>>>>>> .NET RELEASE 64"
 msbuild source\BugTrap.vs2013.sln -p:Configuration=".NET Release" -p:Platform=x64
 if %errorlevel% neq 0 exit /b %errorlevel%
+
+rem Examples
+echo "Building BugTrap.Examples [Debug|Win32]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Debug -p:Platform=Win32
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Release|Win32]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Release -p:Platform=Win32
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Debug|Win32]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Debug" -p:Platform=Win32
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Release|Win32]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Release" -p:Platform=Win32
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Debug|x64]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Debug -p:Platform=x64
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Release|x64]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Release -p:Platform=x64
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Debug|x64]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Debug" -p:Platform=x64
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Release|x64]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Release" -p:Platform=x64
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Debug|.NET x86]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Debug -p:Platform=".NET x86"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Release|.NET x86]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration=Release -p:Platform=".NET x86"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Debug|.NET x86]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Debug" -p:Platform=".NET x86"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrap.Examples [Unicode Release|.NET x86]"
+msbuild source\BugTrap.Examples.vs2013.sln -p:Configuration="Unicode Release" -p:Platform=".NET x86"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+rem Windows server
+echo "Building BugTrapServer [Debug|Any CPU]"
+msbuild source\BugTrapServer.vs2013.sln -p:Configuration=Debug -p:Platform="Any CPU"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrapServer [Release|Any CPU]"
+msbuild source\BugTrapServer.vs2013.sln -p:Configuration=Release -p:Platform="Any CPU"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+rem Windows web server
+echo "Building BugTrapWebServer [Debug|Any CPU]"
+msbuild source\BugTrapWebServer.vs2013.sln -p:Configuration=Debug -p:Platform="Any CPU"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+echo "Building BugTrapWebServer [Release|Any CPU]"
+msbuild source\BugTrapWebServer.vs2013.sln -p:Configuration=Release -p:Platform="Any CPU"
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+rem Java server
+rem XXX: add java server build script


enable fsharp suite too

enable fsharp suite too

--- build.cmd
+++ build.cmd
@@ -42,7 +42,6 @@
 set TEST_VS=0
 set TEST_FSHARP_SUITE=0
 set TEST_TAGS=
-set TEST_TAGS_CI=
 set TEST_FSHARPQA_SUITE=0
 set BUILD_CONFIG=Release
 set BUILD_CONFIG_LOWER=release
@@ -124,7 +123,6 @@
     set TEST_FSHARPQA_SUITE=1
     set TEST_VS=0
     set TEST_TAGS=
-    set TEST_TAGS_CI=CI
 )

 REM These divide 'ci' into three chunks which can be done in parallel
@@ -143,13 +141,11 @@
     set TEST_PORTABLE259_COREUNIT=1
     set TEST_VS=0
     set TEST_TAGS=
-    set TEST_TAGS_CI=CI
 )

 if /i '%ARG%' == 'ci_part2' (
     set TEST_FSHARP_SUITE=1
     set TEST_TAGS=
-    set TEST_TAGS_CI=CI
 )

@@ -160,7 +156,6 @@
     set BUILD_PORTABLE259=1
     set TEST_FSHARPQA_SUITE=1
     set TEST_TAGS=
-    set TEST_TAGS_CI=CI
 )

 if /i '%ARG%' == 'smoke' (
@@ -168,11 +163,10 @@

     set TEST_COMPILERUNIT=0
     set TEST_NET40_COREUNIT=0
-    set TEST_TAGS=Smoke
-
     set TEST_FSHARP_SUITE=1
     set TEST_FSHARPQA_SUITE=0
-    set TEST_TAGS_CI=Smoke
+    set TEST_TAGS=Smoke
+
 )

 if /i '%ARG%' == 'debug' (
@@ -213,7 +207,6 @@
 echo TEST_FSHARP_SUITE=%TEST_FSHARP_SUITE%
 echo TEST_FSHARPQA_SUITE=%TEST_FSHARPQA_SUITE%
 echo TEST_TAGS=%TEST_TAGS%
-echo TEST_TAGS_CI=%TEST_TAGS_CI%
 echo BUILD_CONFIG=%BUILD_CONFIG%
 echo BUILD_CONFIG_LOWER=%BUILD_CONFIG_LOWER%
 echo.
@@ -350,7 +343,7 @@
 %_msbuildexe% fsharp\fsharp.tests.fsproj /p:Configuration=%BUILD_CONFIG%
 @if ERRORLEVEL 1 echo Error: fsharp cambridge tests for nunit failed && goto :failure

-call RunTests.cmd %BUILD_CONFIG_LOWER% fsharp %TEST_TAGS_CI%
+call RunTests.cmd %BUILD_CONFIG_LOWER% fsharp %TEST_TAGS%
 @if ERRORLEVEL 1 type testresults\fsharp_failures.log && echo Error: 'RunTests.cmd %BUILD_CONFIG_LOWER% fsharp %CONF_CAMBRIDGE_SUITE%' failed && goto :failure
 set FSHARP_TEST_SUITE_USE_NUNIT_RUNNER=
 )


Updated FAKE to latest version

Updated FAKE to latest version

--- build.cmd
+++ build.cmd
@@ -3,7 +3,7 @@
 :Build
 cls

-"Source\.nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "Source\packages" "-Version" "1.64.15" "-ExcludeVersion"
+"Source\.nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "Source\packages" "-Version" "1.68.1.0" "-ExcludeVersion"

 SET TARGET="Default"
 IF NOT [%1]==[] (set TARGET="%1")


Updated MyGet script to use Gallio.

Updated MyGet script to use Gallio.

--- Scripts/MyGet.bat
+++ Scripts/MyGet.bat
@@ -26,6 +26,15 @@
    set version=-Version %PackageVersion%
 )

+echo Restoring packages...
+echo -------------------------------
+rem Packages must be explicity restored otherwise NullGuard.Fody does not run.
+echo.
+.nuget\nuget restore -PackagesDirectory .\Packages
+if not "%errorlevel%" == "0" goto Error
+echo.
+echo.
+
 echo Building solution...
 echo -------------------------------
 echo.
@@ -41,15 +50,20 @@

 if "%GallioEcho%" == "" (

-  echo Running tests with mstest...
-  "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" /testcontainer:Projects\RavenMagic.Tests\bin\Release\RavenMagic.Tests.dll"
-
-) else (
+  if exist "C:\Program Files\Gallio\bin\Gallio.Echo.exe" (

-  echo Running tests with Gallio...
-  "%GallioEcho%" Projects\RavenMagic.Tests\bin\Release\RavenMagic.Tests.dll
+    echo Setting GallioEcho environment variable...
+    set GallioEcho=""C:\Program Files\Gallio\bin\Gallio.Echo.exe""
+
+  ) else (
+
+	echo Gallio is required to run unit tests. Try cinst Gallio.
+	goto Error
+
+  )
 )

+"%GallioEcho%" Projects\RavenMagic.Tests\bin\Release\RavenMagic.Tests.dll
 if not "%errorlevel%" == "0" goto Error
 echo.
 echo.


Removing trailing end tag and exit with success archiving/tests will make it fail

--- Scripts/build.bat
+++ Scripts/build.bat
@@ -76,4 +76,6 @@
     ECHO|SET /p=,"sha256":"%SHA256_CHECKSUM%" >> version.json
     ECHO|SET /p=,"md5":"%MD5_CHECKSUM%" >> version.json
     ECHO|SET /p=} >> version.json
-POPD ..+POPD ..
+
+EXIT 0


signAll: Switch to EWDK env

signAll: Switch to EWDK env

Signed-off-by: Kostiantyn Kostiuk <88b496cab076c092c564e40d69a70d175fb00bcc@daynix.com>

--- Tools/signAll.bat
+++ Tools/signAll.bat
@@ -1,5 +1,4 @@
 @echo off
-SET "SignToolDir=C:\Program Files (x86)\Windows Kits\8.1\bin\x64"
-for /r "%~dp0\..\" %%i in (*.sys) do "%SignToolDir%\signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
-for /r "%~dp0\..\" %%i in (*.cat) do "%SignToolDir%\signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
-
+call "%~dp0\SetVsEnv.bat" x86
+for /r "%~dp0\..\" %%i in (*.sys) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
+for /r "%~dp0\..\" %%i in (*.cat) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"


Updated pull method

Updated pull method

--- pull.cmd
+++ pull.cmd
@@ -1 +1,2 @@
-git submodule foreach git pull origin master+rem git submodule foreach git pull origin master
+git submodule update --remote


test space 2017/06/05

test space 2017/06/05

--- push.cmd
+++ push.cmd
@@ -3,7 +3,7 @@
 rem for /l %%a in (1,1,100) do (
 set /p var=:
 git add *
-git commit -m "%var%_%date:~0,10%"
+git commit -m "%var% %date:~0,10%"
 git push origin master
 pause
 rem )


bit: Force Python3 for CI.

bit: Force Python3 for CI.

--- core/math/big/tests/build.bat
+++ core/math/big/tests/build.bat
@@ -4,6 +4,6 @@
 set OUT_NAME=test_library
 set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style
 set PATH_TO_ODIN==..\..\..\..\odin
-%PATH_TO_ODIN% build . %COMMON% -o:minimal -out:%OUT_NAME% && python test.py %TEST_ARGS%
-%PATH_TO_ODIN% build . %COMMON% -o:size    -out:%OUT_NAME% && python test.py %TEST_ARGS%
-%PATH_TO_ODIN% build . %COMMON% -o:speed   -out:%OUT_NAME% && python test.py %TEST_ARGS%+%PATH_TO_ODIN% build . %COMMON% -o:minimal -out:%OUT_NAME% && python3 test.py %TEST_ARGS%
+%PATH_TO_ODIN% build . %COMMON% -o:size    -out:%OUT_NAME% && python3 test.py %TEST_ARGS%
+%PATH_TO_ODIN% build . %COMMON% -o:speed   -out:%OUT_NAME% && python3 test.py %TEST_ARGS%


git コマンドがなくてもビルドできるようにした. #276

git コマンドがなくてもビルドできるようにした. #276

* .git/ ディレクトリが存在しない場合は git describe をそもそも実行しないように修正
* コマンドの実行結果が空なら PROGRAM_VERSION_DESCRIBE_STRING を定義しないように修正

--- misc/update_version_describe.bat
+++ misc/update_version_describe.bat
@@ -2,38 +2,47 @@
 setlocal
 cd %~dp0\..

-set GIT_DESCRIBE=git describe --tags --dirty
 set VERSION_DESCRIBE_H=src\gen\version-describe.h
 set VERSION_DESCRIBE_TMP=src\gen\version-describe.%RANDOM%.tmp

+if exist .git goto gen_git_version
+goto gen_release_version
+
+:gen_git_version
 rem git describe ̏
 rem   (tag)-(tag ȍ~̃R~bg)-g(hash)
 rem
 rem git describe  --long w肵ȂƃR~bg񐔂 0 ̏ꍇ
 rem ^O\Ȃ

-for /F "usebackq" %%i in (`%GIT_DESCRIBE% --long`) do (
+set GIT_DESCRIBE=git describe --tags --dirty
+for /F "usebackq" %%i in (`%GIT_DESCRIBE% --long 2^> nul`) do (
   set DESCRIBE_LONG=%%i
 )
-for /F "usebackq" %%i in (`%GIT_DESCRIBE%`) do (
+for /F "usebackq" %%i in (`%GIT_DESCRIBE% 2^> nul`) do (
   set DESCRIBE=%%i
 )

-if not "%DESCRIBE%"=="%DESCRIBE_LONG%" (
-  rem [Xo[W
-  echo. > %VERSION_DESCRIBE_TMP%
-) else (
-  rem Jo[W
-  echo #define PROGRAM_VERSION_DESCRIBE_STRING "%DESCRIBE%" > %VERSION_DESCRIBE_TMP%
-)
+if "%DESCRIBE%"=="" goto gen_release_version
+if not "%DESCRIBE%"=="%DESCRIBE_LONG%" goto gen_release_version
+goto gen_develop_version

+:gen_release_version
+echo. > %VERSION_DESCRIBE_TMP%
+goto :check_update
+
+:gen_develop_version
+echo #define PROGRAM_VERSION_DESCRIBE_STRING "%DESCRIBE%" > %VERSION_DESCRIBE_TMP%
+goto :check_update
+
+:check_update
 if not exist %VERSION_DESCRIBE_H% goto update
 fc %VERSION_DESCRIBE_H% %VERSION_DESCRIBE_TMP% > nul
 if errorlevel 1 goto update
 goto not_update

 :update
-echo %DESCRIBE%
+if not "%DESCRIBE%"=="" echo %DESCRIBE%
 copy /Y %VERSION_DESCRIBE_TMP% %VERSION_DESCRIBE_H% > nul
 goto cleanup


Make test.cmd execute scripts\test.ps1

Make test.cmd execute scripts\test.ps1

--- test.cmd
+++ test.cmd
@@ -1,8 +1,2 @@
-@rem Tests currently only work on `Release` build.
-@if "%config%" == "" set config=Release
-
-call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"
-
-msbuild GitHubVS.sln /p:Configuration=%Config%
-VSTest.Console.exe src\UnitTests\bin\%Config%\UnitTests.dll /TestAdapterPath:"."
-VSTest.Console.exe src\TrackingCollectionTests\bin\%Config%\TrackingCollectionTests.dll /TestAdapterPath:"."
+@if "%1" == "" echo Please specify Debug or Release && EXIT /B
+powershell -ExecutionPolicy Unrestricted scripts\test.ps1 -Config:%1


update

update

--- push.bat
+++ push.bat
@@ -1,4 +1,4 @@
 git add .
 git commit -m"update"
 git push
-bash+read


Update install.bat

Update install.bat

--- src/main/scripts/install.bat
+++ src/main/scripts/install.bat
@@ -60,8 +60,8 @@
 :v10.1
 echo Installing utility for v10.1
 db2 -tsC_MAIN_CODE_PATH%\Tables.sql
-db2 -tsf %SRC_MAIN_CODE_PATH%\ToolsHeader.sql
-db2 -td@ -sf %SRC_MAIN_CODE_PATH%\ToolsBody.sql
+db2 -tsf %SRC_MAIN_CODE_PATH%\UtilityHeader.sql
+db2 -td@ -sf %SRC_MAIN_CODE_PATH%\UtilityBody.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\AdminHeader.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\AdminBody.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\Appenders.sql
@@ -85,8 +85,8 @@
 :v9.7
 echo Installing utility for DB2 v9.7
 db2 -tsf %SRC_MAIN_CODE_PATH%\Tables_v9_7.sql
-db2 -tsf %SRC_MAIN_CODE_PATH%\ToolsHeader.sql
-db2 -td@ -sf %SRC_MAIN_CODE_PATH%\ToolsBody.sql
+db2 -tsf %SRC_MAIN_CODE_PATH%\UtilityHeader.sql
+db2 -td@ -sf %SRC_MAIN_CODE_PATH%\UtilityBody.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\AdminHeader.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\AdminBody.sql
 db2 -td@ -sf %SRC_MAIN_CODE_PATH%\Appenders.sql


Adding CALL in buildpackpush.bat

Adding CALL in buildpackpush.bat

--- Scripts/buildpackpush.bat
+++ Scripts/buildpackpush.bat
@@ -3,7 +3,7 @@
 SET VERSION=%1
 SET NUGET=.\..\.nuget\nuget.exe

-buildpack %VERSION%
+CALL buildpack %VERSION%
 %NUGET% push .\..\Release\Mapsui.%VERSION%.nupkg


batch script

batch script

error: pathspec 'clean.cmd' did not match any file(s) known to git

--- clean.cmd
+++ clean.cmd
@@ -0,0 +1,7 @@
+@ECHO OFF
+
+set location=%1
+set main=%2
+cd %location%
+del %main%.o %main%.hi %main%.exe
+ghc --make %main%.hs -o %main%.exe


Made Windows batch file work with Task Scheduler

--- SteamImportUserStates.bat
+++ SteamImportUserStates.bat
@@ -1,2 +1,2 @@
+cd %~dp0
 php artisan steam:import-user-states
-pause


nupkg generated in root folder

nupkg generated in root folder

--- Build.bat
+++ Build.bat
@@ -18,7 +18,7 @@

 "C:\Program Files (x86)\MSBuild\14.0\Bin\MsBuild" TranslateMe.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false

-%nuget% pack "TranslateMe.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration="%config%"
+%nuget% pack "TranslateMe.nuspec" -NoPackageAnalysis -verbosity detailed -Version %version% -p Configuration="%config%"
 REM %nuget% pack TranslateMe.WPF\TranslateMeWPF.csproj -IncludeReferencedProjects -Build -Version %version% -p Configuration="%config%"

 PAUSE


Make build.bat work regardless of your current directory, so you can invoke it from the root directory

--- build.bat
+++ build.bat
@@ -1,3 +1,4 @@
+@cd %~dp0
 @mkdir .shake 2> nul

 @set ghcArgs=--make            ^


Add build script for Windows

Add build script for Windows

error: pathspec 'build.bat' did not match any file(s) known to git

--- build.bat
+++ build.bat
@@ -0,0 +1,107 @@
+@echo on
+
+set PATH_BAK=%PATH%
+set WORKING_DIR=%CD%
+
+rmdir build-Qt4.MinGW /s /q
+rmdir build-Qt4.MSVC2008 /s /q
+rmdir build-Qt5.MinGW /s /q
+rmdir build-Qt5.MSVC2010 /s /q
+rmdir LPCXpressoBurner.Qt4MinGW /s /q
+rmdir LPCXpressoBurner.Qt5MinGW /s /q
+rmdir LPCXpressoBurner.Qt4MSVC /s /q
+rmdir LPCXpressoBurner.Qt5MSVC /s /q
+mkdir build-Qt4.MinGW
+mkdir build-Qt4.MSVC2008
+mkdir build-Qt5.MinGW
+mkdir build-Qt5.MSVC2010
+
+:Qt4MinGW
+rem
+rem Qt4 MinGW
+rem From C:\Qt\4.8.6_MinGW\bin\qtvars.bat
+rem
+set QTDIR=C:\Qt\4.8.6_MinGW
+set PATH=C:\Qt\4.8.6_MinGW\bin
+set PATH=%PATH%;C:\Qt\mingw32\bin
+set PATH=%PATH%;%SystemRoot%\System32
+set QMAKESPEC=win32-g++-4.6
+rem Build
+cd %WORKING_DIR%\build-Qt4.MinGW
+qmake %WORKING_DIR%\repo\src\LPCXpressoBurner.pro
+mingw32-make
+set AvalonDir=%WORKING_DIR%\LPCXpressoBurner.Qt4MinGW
+mkdir %AvalonDir%
+move release\LPCXpressoBurner.exe %AvalonDir%\LPCXpressoBurner.exe
+copy %QTDIR%\bin\QtCore4.dll %AvalonDir%
+copy %QTDIR%\bin\QtGui4.dll %AvalonDir%
+copy %WORKING_DIR%\MinGW.runtime\* %AvalonDir%
+copy %WORKING_DIR%\repo\config-example.ini %AvalonDir%\config.ini
+cd %WORKING_DIR%
+
+rem goto END
+
+:Qt5MinGW
+rem
+rem Qt5 MinGW
+rem From C:\Qt\Qt5.3.1_MinGW\5.3\mingw482_32\bin\qtenv2.bat
+rem
+set PATH=C:\Qt\Qt5.3.1_MinGW\5.3\mingw482_32\bin;C:\Qt\Qt5.3.1_MinGW\Tools\mingw482_32\bin;%SystemRoot%\System32;%SystemRoot%
+set QTDIR=
+set QMAKESPEC=
+rem Build
+cd %WORKING_DIR%\build-Qt5.MinGW
+qmake %WORKING_DIR%\repo\src\LPCXpressoBurner.pro
+mingw32-make
+set AvalonDir=%WORKING_DIR%\LPCXpressoBurner.Qt5MinGW
+mkdir %AvalonDir%
+move release\LPCXpressoBurner.exe %AvalonDir%\LPCXpressoBurner.exe
+cd %AvalonDir%
+windeployqt LPCXpressoBurner.exe
+copy %WORKING_DIR%\repo\config-example.ini %AvalonDir%\config.ini
+cd %WORKING_DIR%
+
+:Qt4MSVC
+rem
+rem Qt4 MSVC2008
+rem From C:\Qt\4.8.6_MSVC2008\bin\qtvars.bat vsvars
+rem
+set QTDIR=C:\Qt\4.8.6_MSVC2008
+set PATH=C:\Qt\4.8.6_MSVC2008\bin;%SystemRoot%\System32;%SystemRoot%
+set QMAKESPEC=win32-msvc2008
+call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
+rem Build
+cd %WORKING_DIR%\build-Qt4.MSVC2008
+qmake %WORKING_DIR%\repo\src\LPCXpressoBurner.pro
+nmake
+set AvalonDir=%WORKING_DIR%\LPCXpressoBurner.Qt4MSVC
+mkdir %AvalonDir%
+move release\LPCXpressoBurner.exe %AvalonDir%\LPCXpressoBurner.exe
+copy %QTDIR%\bin\QtCore4.dll %AvalonDir%
+copy %QTDIR%\bin\QtGui4.dll %AvalonDir%
+copy %WORKING_DIR%\MSVC2008\* %AvalonDir%
+copy %WORKING_DIR%\repo\config-example.ini %AvalonDir%\config.ini
+cd %WORKING_DIR%
+
+:Qt5MSVC
+rem Qt5 MSVC2010
+set QTDIR=
+set PATH=C:\Qt\Qt5.3.1_MSVC\5.3\msvc2010_opengl\bin;%SystemRoot%\System32;%SystemRoot%
+set QMAKESPEC=
+call "C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
+rem Build
+cd %WORKING_DIR%\build-Qt5.MSVC2010
+qmake %WORKING_DIR%\repo\src\LPCXpressoBurner.pro
+nmake
+set AvalonDir=%WORKING_DIR%\LPCXpressoBurner.Qt5MSVC
+mkdir %AvalonDir%
+move release\LPCXpressoBurner.exe %AvalonDir%\LPCXpressoBurner.exe
+copy %WORKING_DIR%\MSVC2010\* %AvalonDir%
+cd %AvalonDir%
+windeployqt LPCXpressoBurner.exe
+copy %WORKING_DIR%\repo\config-example.ini %AvalonDir%\config.ini
+cd %WORKING_DIR%
+
+:END
+set PATH=%PATH_BAK%
+


fix bat file

fix bat file

--- build.bat
+++ build.bat
@@ -1,6 +1,6 @@
 .nuget\NuGet.exe restore Metrics.sln

-set MSBUILD="C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe"
+set MSBUILD="C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"
 set XUNIT=".\packages\xunit.runner.console.2.0.0\tools\xunit.console.exe"

 rd /S /Q .\bin\Debug