appveyor: more batch script fun

appveyor: more batch script fun

--- testing/appveyor-scripts/build-test.bat
+++ testing/appveyor-scripts/build-test.bat
@@ -14,23 +14,23 @@

 :: Don't run anything when cross-compiling
 if "x%CMAKE_DASH_G:ARM=%"=="x%CMAKE_DASH_G%" (
-    ctest --output-on-failure
+    start /WAIT ctest --output-on-failure
     if not %ERRORLEVEL%==0 goto fail

     set SAVEDIR=c:\projects\pksav\testing\pksav-test-saves
     set PATH=c:\projects\pksav\test-env\build\lib\Debug;"%PATH%"
     set PATH=c:\projects\pksav\test-env\build\apps\Debug;"%PATH%"

-    start pksav-gen1-save-dump --all --input=%SAVEDIR%\red_blue\pokemon_red.sav
+    start /WAIT pksav-gen1-save-dump --all --input=%SAVEDIR%\red_blue\pokemon_red.sav
     if not %ERRORLEVEL%==0 goto fail

-    start pksav-gen1-save-dump --all --input=%SAVEDIR%\yellow\pokemon_yellow.sav
+    start /WAIT pksav-gen1-save-dump --all --input=%SAVEDIR%\yellow\pokemon_yellow.sav
     if not %ERRORLEVEL%==0 goto fail

-    start pksav-gen2-save-dump %SAVEDIR%\gold_silver\pokemon_gold.sav
+    start /WAIT pksav-gen2-save-dump %SAVEDIR%\gold_silver\pokemon_gold.sav
     if not %ERRORLEVEL%==0 goto fail

-    start pksav-gen2-save-dump %SAVEDIR%\crystal\pokemon_crystal.sav
+    start /WAIT pksav-gen2-save-dump %SAVEDIR%\crystal\pokemon_crystal.sav
     if not %ERRORLEVEL%==0 goto fail
 )


Added Makefile

Added Makefile

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

--- Makefile.bat
+++ Makefile.bat
@@ -0,0 +1,35 @@
+@echo off
+
+set TASM_PATH=C:\TASM
+set COMPILER=%TASM_PATH%\TASM\TASM.EXE
+set LINKER=%TASM_PATH%\TASM\TLINK.EXE
+set DEBUGGER=%TASM_PATH%\TD.EXE
+
+set TARGET=copyfile
+set EXT=exe
+rem list of source files:
+set SRC=%TARGET%.asm
+set OBJ=%TARGET%.obj
+
+if "%1"=="clean" goto clean
+if "%1"=="debug" goto debug
+
+rem if no clean or debug command selected then just compile binary in release
+%COMPILER% %SRC%
+%LINKER% %OBJ%
+goto end
+
+:debug
+rem make sure we have compiled binary in debug mode
+
+%COMPILER% /z /zi %SRC%
+%LINKER% /v %OBJ%
+
+%DEBUGGER% %TARGET%.%EXT%
+goto end
+
+:clean
+del %TARGET%.%EXT%
+del *.MAP
+del %OBJ%
+:end


Using the newer Wix 3.7

Using the newer Wix 3.7

--- Installer/CompilePracticeSharpWix.bat
+++ Installer/CompilePracticeSharpWix.bat
@@ -1,7 +1,7 @@
-@ECHO OFF
+@ECHO OFF
 REM Practice Sharp
 REM
-REM    © Copyright 2010, Yuval Naveh.
+REM     Copyright 2010, Yuval Naveh.
 REM     All rights reserved.
 REM
 REM    This file is part of Practice Sharp.
@@ -38,9 +38,9 @@
 XCOPY /Y ..\PracticeSharpApp\bin\Release\NLog.dll Source\
 XCOPY /Y ..\PracticeSharpApp\bin\Release\NLog.config Source\

-REM NOTE: ** Download once wix35-binaries.zip and unzip it into this folder, before running this batch file **
+REM NOTE: ** Download once wix37-binaries.zip and unzip it into this folder, before running this batch file **
 REM Download URL: http://wix.sourceforge.net/
-SET PATH=%PATH%;.\wix35-binaries
+SET PATH=%PATH%;.\wix37-binaries

 ECHO+
 ECHO ==== Candle ====


Misc

Misc

--- setup.bat
+++ setup.bat
@@ -3,9 +3,9 @@

 REM Developer's Note: Install Python then call the setup.py script
 REM inside the external/win32 directory.
-REM $Id: setup.bat,v 1.1 2004/06/26 01:14:01 judah Exp $
+REM $Id: setup.bat,v 1.2 2004/06/26 02:41:38 judah Exp $

-external\win32\Y_OR_N /Q /A "Do you wish to continue? [Y/n]"
+external\win32\util\Y_OR_N /Q /A "Do you wish to continue? [Y/n]"

 IF ERRORLEVEL 3 GOTO :INSTALL
 IF ERRORLEVEL 2 GOTO :EXIT
@@ -25,9 +25,10 @@

 :RUN_SETUP
 cd external/win32
-start /wait setup.py
+start /wait setup.py -pyth
+start /wait setup.py -pack
 cd ../..
 copy topographica-script.py topographica.py

 :EXIT
-ECHO Exiting
+ECHO Install Complete


Created an easy-start batch file for lab

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

--- setup.bat
+++ setup.bat
@@ -0,0 +1,5 @@
+SET HTTP_PROXY=http://gateway.zscaler.net:80
+REM gem update --system
+git config --global http.proxy %HTTP_PROXY%
+git config --global http.sslVerify false
+git pull


Minor update.

Minor update.

--- docs/make.bat
+++ docs/make.bat
@@ -5,7 +5,7 @@
 if "%SPHINXBUILD%" == "" (
 	set SPHINXBUILD=sphinx-build
 )
-set BUILDDIR=.
+set BUILDDIR=build
 set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
 set I18NSPHINXOPTS=%SPHINXOPTS% source
 if NOT "%PAPER%" == "" (


Try windows with c++11

Try windows with c++11

--- recipes/helics/bld.bat
+++ recipes/helics/bld.bat
@@ -12,7 +12,7 @@

 set PY_VER_NO_DOT=%PY_VER:.=%

-cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY="%PREFIX%\libs\python%PY_VER_NO_DOT%.lib"  -DPYTHON_INCLUDE_DIR="%PREFIX%\include" -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja" ..
+cmake -DCMAKE_BUILD_TYPE=Release -DCOMPILER_CAN_DO_CPP_11=ON -DCXX_FLAGS="-std=c++11" -DPYTHON_LIBRARY="%PREFIX%\libs\python%PY_VER_NO_DOT%.lib"  -DPYTHON_INCLUDE_DIR="%PREFIX%\include" -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja" ..
 ninja
 ninja install


Updated docs.cmd - One more ../

Updated docs.cmd - One more ../

--- SpotifyAPI.Docs/docs.cmd
+++ SpotifyAPI.Docs/docs.cmd
@@ -19,7 +19,7 @@
   git commit -m "Built docs | AppVeyor Build %APPVEYOR_BUILD_NUMBER%"
   git push -fq origin gh-pages

-  cd ../..
+  cd ../../../
 ) else (
   echo Skipping doc build
 )


updating path and typo

updating path and typo

--- env-mingw.cmd
+++ env-mingw.cmd
@@ -1,4 +1,8 @@
-@echo setting Phython path
+@echo setting Python path c:\Python27
 @path c:\Python27\;%PATH%
+@echo setting emacs path C:\Program Files (x86)\emacs-22.3\bin\
+@path C:\Program Files (x86)\emacs-22.3\bin\;%PATH%
+@echo setting Graphviz path C:\Program Files (x86)\Graphviz2.36\bin
+@path C:\Program Files (x86)\Graphviz2.36\bin\;%PATH%
 @echo with MinGW, you can try this make version:
 @echo c:\MinGW\bin\mingw32-make.exe


Make good.

Make good.

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

--- users.bat
+++ users.bat
@@ -0,0 +1,2 @@
+python Users.py
+pause


rework publish script

rework publish script

--- tools/release/publish_delivery_win.cmd
+++ tools/release/publish_delivery_win.cmd
@@ -2,6 +2,22 @@
 REM Each blocks could be triggered independently (i.e. commenting others)
 REM (e.g. want to upload only python35 artifacts)
 set PATH=%PATH%;tools
+set PATH=%PATH%;C:\python37-64;C:\python37-64\Scripts
+
+REM Print version
+make.exe print-OR_TOOLS_VERSION | tee.exe publish.log
+
+which.exe cmake || exit 1
+which.exe cmake | tee.exe -a publish.log
+REM Python
+which.exe C:\python27-64\python.exe || exit 1
+echo C:\python27-64\python.exe: FOUND | tee.exe -a publish.log
+which.exe C:\python35-64\python.exe || exit 1
+echo C:\python35-64\python.exe: FOUND | tee.exe -a publish.log
+which.exe C:\python36-64\python.exe || exit 1
+echo C:\python36-64\python.exe: FOUND | tee.exe -a publish.log
+which.exe C:\python37-64\python.exe || exit 1
+echo C:\python37-64\python.exe: FOUND | tee.exe -a publish.log

 echo Uploading all Python artifacts...
 make.exe pypi_upload WINDOWS_PATH_TO_PYTHON=c:\python27-64


Now deletes ipch folder (which VS2010 generates).

--- PrepForSubmission.bat
+++ PrepForSubmission.bat
@@ -1,5 +1,5 @@
 echo off
-echo PrepForSubmission.bat v1.0
+echo PrepForSubmission.bat v1.1 (updated 28 Nov 2013)
 echo By Joey Foo (joeyfoo.github.io)
 echo -----
 echo This batch file is for use on the root directory of a Visual Studio solution,
@@ -31,6 +31,8 @@
 del ..\%outputDir%\.gitignore /q
 rmdir ..\%outputDir%\.git /s /q

+rmdir ..\%outputDir%\ipch /q
+
 del ..\%outputDir%\*.bat /q

 cd ..\%outputDir%


give more memory to grade

give more memory to grade

--- gradlew.bat
+++ gradlew.bat
@@ -9,7 +9,7 @@
 if "%OS%"=="Windows_NT" setlocal

 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
+set DEFAULT_JVM_OPTS=-Xmx2048M

 set DIRNAME=%~dp0
 if "%DIRNAME%" == "" set DIRNAME=.


add update-background script

add update-background script

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

--- update-background.bat
+++ update-background.bat
@@ -0,0 +1,15 @@
+@echo off
+CD /d %~dp0
+
+REM download and copy latest goes and himawari images for use in windows background slideshow, this allows us to update the image dynamically.
+REM usage:
+REM 		update-background.bat <output path>
+
+python himawari.py -o %1\himawari\himawari_01.png
+copy %1\himawari\himawari_01.png %1\himawari\himawari_02.png
+
+python rammb.py -s goes-16 -z 1 -d %1\goes-16\ -f goes-16_01.png
+copy %1\goes-16\goes-16_01.png %1\goes-16\goes-16_02.png
+
+python rammb.py -s goes-17 -z 1 -d %1\goes-17\ -f goes-17_01.png
+copy %1\goes-17\goes-17_01.png %1\goes-17\goes-17_02.png


FIX: Point Windows batch file at source subdir.

--- doc/make.bat
+++ doc/make.bat
@@ -6,7 +6,7 @@
 	set SPHINXBUILD=sphinx-build
 )
 set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
+set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
 if NOT "%PAPER%" == "" (
 	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
 )


Add utility script to quick re-generate the wiki pages

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

--- gen-wiki.cmd
+++ gen-wiki.cmd
@@ -0,0 +1,9 @@
+@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


add auto push file

add auto push file

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


Bump build number

Bump build number

--- NightlyBuild.cmd
+++ NightlyBuild.cmd
@@ -19,8 +19,8 @@
 :main
 setlocal

-set BuildAssemblyVersion=1.0.0.23
-set BuildSemanticVersion=1.0.0-alpha-build0023
+set BuildAssemblyVersion=1.0.0.24
+set BuildSemanticVersion=1.0.0-alpha-build0024

 echo Building version %BuildSemanticVersion% NuGet packages.
 echo WARNING: Some source files will be modified during this build.


Update bld.bat

Update bld.bat

--- libboost_python/bld.bat
+++ libboost_python/bld.bat
@@ -30,6 +30,6 @@
 IF errorlevel 1 exit 1

 dir  %LIBRARY_LIB%
-ECHO %LIBRARY_LIB%\libboost_python-mgw49-mt-1_61.dll "%LIBRARY_BIN%"
-move %LIBRARY_LIB%\libboost_python-mgw49-mt-1_61.dll "%LIBRARY_BIN%"
+ECHO %LIBRARY_LIB%\boost_python-vc90-mt-1_61.dll "%LIBRARY_BIN%"
+move %LIBRARY_LIB%\boost_python-vc90-mt-1_61.dll "%LIBRARY_BIN%"
 IF errorlevel 1 exit 1


Update Main.bat

Update Main.bat

--- Windows/Main.bat
+++ Windows/Main.bat
@@ -29,7 +29,7 @@
 echo 9. Powershell rootkit detection

-SET /p choice=Enter your choice:
+CHOICE /C 123456789 /M "Enter your choice:"
 IF ERRORLEVEL 1 GOTO One

 :One


Fix slight issue with the windows build script not returning to the original folder it was invoked from.

--- win-release-build.bat
+++ win-release-build.bat
@@ -2,4 +2,5 @@
 cd build
 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -G "Visual Studio 14 2015" ..
 devenv musicgame.sln /build
-pause+cd ..
+pause


windows makezip update

windows makezip update

--- makezip.bat
+++ makezip.bat
@@ -1,3 +1,13 @@
-del blender_nif_scripts-2.0.5.zip
-"%PROGRAMFILES%\7-Zip\7z.exe" a -tzip blender_nif_scripts-2.0.5.zip scripts\nif_import.py scripts\nif_export.py scripts\bpymodules\nifImEx\__init__.py scripts\bpymodules\nifImEx\Config.py  scripts\bpymodules\nifImEx\Defaults.py scripts\bpymodules\nifImEx\Read.py scripts\bpymodules\nifImEx\Write.py scripts\bpymodules\nifImEx\niftools_logo.png ChangeLog README.html install.sh
+set NAME=blender_nif_scripts
+set VERSION=2.0.6
+set FILES=scripts\nif_import.py scripts\nif_export.py scripts\bpymodules\nifImEx\__init__.py scripts\bpymodules\nifImEx\Config.py  scripts\bpymodules\nifImEx\Defaults.py scripts\bpymodules\nifImEx\Read.py scripts\bpymodules\nifImEx\Write.py scripts\bpymodules\nifImEx\niftools_logo.png ChangeLog README.html install.sh
+
+del %NAME%-%VERSION%.*
+
+"%PROGRAMFILES%\7-Zip\7z.exe" a -tzip %NAME%-%VERSION%.zip %FILES%
+"%PROGRAMFILES%\7-Zip\7z.exe" a -ttar %NAME%-%VERSION%.tar %FILES%
+"%PROGRAMFILES%\7-Zip\7z.exe" a -tbzip2 %NAME%-%VERSION%.tar.bz2 %NAME%-%VERSION%.tar
+
+del %NAME%-%VERSION%.tar
+
 pause


layers: Remove output paren from android update script

--- build-android/update_external_sources_android.bat
+++ build-android/update_external_sources_android.bat
@@ -212,7 +212,7 @@

 :create_shaderc
    echo.
-   echo Creating local shaderc repository %SHADERC_DIR%)
+   echo Creating local shaderc repository %SHADERC_DIR%
    mkdir %SHADERC_DIR%
    cd %SHADERC_DIR%
    git clone git@github.com:google/shaderc.git .


Update bld.bat

Update bld.bat

--- recipes/r-smurf/bld.bat
+++ recipes/r-smurf/bld.bat
@@ -1,2 +1,2 @@
-"%R%" CMD INSTALL --build . %R_ARGS%
+"%R%" CMD INSTALL --build . %R_ARGS%
 IF %ERRORLEVEL% NEQ 0 exit /B 1


[publish binary] AppVeyor with npm-windows-upgrade

--- scripts/build-local.bat
+++ scripts/build-local.bat
@@ -16,10 +16,13 @@
 IF %ERRORLEVEL% NEQ 0 GOTO ERROR

+::GOTO BUILD_MATRIX

 SET APPVEYOR_REPO_COMMIT_MESSAGE=[publish binary]

+
+::=============== single build ==============
 SET platform=x64
 SET nodejs_version=0.10.40
 SET msvs_toolset=14
@@ -27,10 +30,16 @@

 CALL scripts\build-appveyor.bat
 IF %ERRORLEVEL% NEQ 0 GOTO ERROR
+
+
 GOTO DONE

+::============== build matrix
+:BUILD_MATRIX

+ECHO TODO^: delete npm-windows-upgrade for each run
+SET ERRORLEVEL=1 && GOTO ERROR

 SET TOOLSET_ARGS=


Update Clang version on Appveyor bots

Update Clang version on Appveyor bots

git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@329145 91177308-0d34-0410-b5e6-96231b3b80d8

--- appveyor-reqs-install.cmd
+++ appveyor-reqs-install.cmd
@@ -9,7 +9,7 @@
 :: Setup Compiler
 ::###########################################################################
 if NOT EXIST llvm-installer.exe (
-  appveyor DownloadFile http://prereleases.llvm.org/win-snapshots/LLVM-6.0.0-r316086-win32.exe -FileName llvm-installer.exe
+  appveyor DownloadFile http://prereleases.llvm.org/win-snapshots/LLVM-7.0.0-r325576-win32.exe -FileName llvm-installer.exe
 )
 if "%CLANG_VERSION%"=="ToT" (
     START /WAIT llvm-installer.exe /S /D=C:\"Program Files\LLVM"


Quote runtime and application.ini paths in case they contain spaces.

--- launcher.bat
+++ launcher.bat
@@ -1,2 +1,2 @@
 SET INSTALL_PATH=%~dp0
-start "" %INSTALL_PATH%firefox.exe --app %INSTALL_PATH%qbrt\application.ini --new-instance
+start "" "%INSTALL_PATH%firefox.exe" --app "%INSTALL_PATH%qbrt\application.ini" --new-instance


easy-mode publish script: "publish 2.3.4"

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

--- publish.cmd
+++ publish.cmd
@@ -0,0 +1,17 @@
+@if "%1" == "" goto error
+
+@for /f "delims=. tokens=1-3" %%a in ( "%1" ) do (set major=%%a && set minor=%%b && set revision=%%c)
+
+@if not defined revision goto error
+@if not defined minor goto error
+@if not defined major goto error
+
+git fetch
+git tag -a v%1 -m "Telerik AppBuilder %1" remotes/origin/master
+git push origin v%1
+
+@goto :EOF
+
+:error
+@echo Version string must be in Major.Minor.Revision format
+@echo Sample usage: publish 1.2.3


fix emqx_ctl.cmd to properly get cookies and node name from config

--- bin/emqx_ctl.cmd
+++ bin/emqx_ctl.cmd
@@ -26,12 +26,12 @@
 @set node_type="-name"

 :: Extract node name from emqx.conf
-@for /f "usebackq tokens=1-2" %%I in (`findstr /b "node.name=" "%emqx_conf%"`) do @(
+@for /f "usebackq delims=\= tokens=2" %%I in (`findstr /b node\.name "%emqx_conf%"`) do @(
   @call :set_trim node_name %%I
 )

-:: Extract cookie from vm.args
-@for /f "usebackq tokens=1-2" %%I in (`findstr /b "node.cookie=" "%emqx_conf%"`) do @(
+:: Extract node cookie from emqx.conf
+@for /f "usebackq delims=\= tokens=2" %%I in (`findstr /b node\.cookie "%emqx_conf%"`) do @(
   @call :set_trim node_cookie= %%I
 )


Windows script

Windows script

--- chatscript/runWindows.cmd
+++ chatscript/runWindows.cmd
@@ -1,4 +1,4 @@
-
 cd ./chatscript/ChatScript/BINARIES
 REM start chatscript!
-chatscript.exe+echo Windows
+chatscript.exe


load tests: message script

load tests: message script

git-svn-id: a3e743b3c7f6e97b9a019791beffa901f5d7f1d1@183 657f710f-be33-0410-a596-71a6d81f68ef

error: pathspec 'extras/load-sipapp/src/test/sipp/windows/message.bat' did not match any file(s) known to git

--- extras/load-sipapp/src/test/sipp/windows/message.bat
+++ extras/load-sipapp/src/test/sipp/windows/message.bat
@@ -0,0 +1,4 @@
+@call "setEnv.cmd"
+title SIPp-UAC MESSAGE
+
+%SIPP_EXE% %AS_HOST%:%AS_PORT% -m %NB_MESSAGE% -r %LOAD_CALL_RATE% -rp %RATE_PERIOD%  -i %SIPP_HOST% -p %SIPP_UAC_PORT% %SIPP_OPTIONS% %TRACE_OPTIONS% -sf ..\message.xml -s uas


update build_script

update build_script

--- build_script.bat
+++ build_script.bat
@@ -4,7 +4,7 @@
 goto custom_python:

 :default_value_python:
-set pythonexe="c:\Python34_x64\python"
+set pythonexe="c:\Python35_x64\python"
 :custom_python:
 %pythonexe% -u setup.py build_script
 if %errorlevel% neq 0 exit /b %errorlevel%


debug lisa.bat

debug lisa.bat

--- applications/lisa.bat
+++ applications/lisa.bat
@@ -1,3 +1,3 @@
-cd cd ..
+cd ..
 python src\update_stable.py
 python src\organ_segmentation.py


Update upload.bat

Update upload.bat

--- conda/upload.bat
+++ conda/upload.bat
@@ -19,7 +19,7 @@
     set ANACONDA_CHANNEL=statiskit
 ) else (
     echo Using anaconda channel: %ANACONDA_CHANNEL%
-    set ANACONDA_UPLOAD_FLAGS=-c statiskit "%ANACONDA_UPLOAD_FLAGS%
+    set ANACONDA_UPLOAD_FLAGS=-c statiskit %ANACONDA_UPLOAD_FLAGS%
 )

 echo ON


Changed prompt in starter

Changed prompt in starter

--- starter.bat
+++ starter.bat
@@ -1,6 +1,6 @@
 @echo off
 :loop
-   set /p action=Insert action:
+   set /p action="ttrack> "
    python ttrack.py %action%
    goto loop


fixed symfony.bat

fixed symfony.bat

git-svn-id: 2f0e1b834f829f9d45d4005679b0d62d953a4cdf@1800 4396de85-42e0-4213-a939-0f47b466bcdf

--- data/bin/symfony.bat
+++ data/bin/symfony.bat
@@ -16,7 +16,7 @@
 if "%OS%"=="Windows_NT" @setlocal

 rem %~dp0 is expanded pathname of the current script under NT
-set DEFAULT_SYMFONY_HOME=%~dp0..
+set DEFAULT_SYMFONY_HOME=%~dp0

 goto init
 goto cleanup


Changed BuildDependencies to properly build GladNet2

--- lib/BuildDependencies.bat
+++ lib/BuildDependencies.bat
@@ -5,6 +5,11 @@
 xcopy  /R /E /Y /q ".\Net35Essentials\src\Net35Essentials\bin\Release" ".\Dependency Builds\Net35Essentials\DLLs\"

 nuget.exe restore .\GladNet2/GladNetV2.sln
+CD .\GladNet2\lib
+BuildDependencies.bat
+CD ..
+CD ..
+
 "%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild.exe" .\GladNet2/GladNetV2.sln /p:Configuration=Release /p:Platform="Any CPU"
 xcopy  /R /E /Y /q ".\GladNet2\src\GladNet.Common\bin\Release" ".\Dependency Builds\GladNet\DLLs\"
 xcopy  /R /E /Y /q ".\GladNet2\src\GladNet.Serializer\bin\Release" ".\Dependency Builds\GladNet\DLLs\"


Fix RIGLR test generation

Fix RIGLR test generation

--- tests/RIGLRParser.SimpleTest/gen.cmd
+++ tests/RIGLRParser.SimpleTest/gen.cmd
@@ -4,5 +4,5 @@
     echo . >> log.txt
     echo %%i >> log.txt
     ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i %%i.yrd -c ExpandEbnf -c ExpandMeta ^
-        -g "hello -token int -module RIGLR.%%i" >> log.txt
+        -g "RIGLRGenerator -token int -module RIGLR.%%i" >> log.txt
 )


v1.0.7

--- publish-release.cmd
+++ publish-release.cmd
@@ -1,4 +1,4 @@
-@echo off
+haxelib@echo off
 :: @author Sebastian Thomschke, Vegard IT GmbH
 ::
 :: creates a new release in GitHub and haxelib.org
@@ -52,8 +52,8 @@
 if not exist target mkdir target

 :: create haxelib release
-if exist target/haxelib-upload.zip (
-    del target/haxelib-upload.zip
+if exist target\haxelib-upload.zip (
+    del target\haxelib-upload.zip
 )
 echo Building haxelib release...
 zip target\haxelib-upload.zip src haxelib.json LICENSE.txt CONTRIBUTING.md README.md -r -9 || goto :eof
@@ -69,7 +69,7 @@
   echo "draft":%DRAFT%,
   echo "prerelease":%PREPRELEASE%
   echo }
-)>target/github_release.json
+)>target\github_release.json
 wget -qO- --post-file=target/github_release.json "https://api.github.com/repos/%REPO_NAME%/releases?access_token=%GITHUB_ACCESS_TOKEN%" || goto :eof

 :: submit haxelib release


add Windows choco install script

add Windows choco install script

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

--- windows.bat
+++ windows.bat
@@ -0,0 +1 @@
+choco install googlechrome keepass dropbox git notepadplusplus cloudstation onenote microsoft-windows-terminal pycharm-community


Set svn:keywords property.

Set svn:keywords property.

--- pear-phpunit.bat
+++ pear-phpunit.bat
@@ -33,7 +33,7 @@
 REM ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 REM POSSIBILITY OF SUCH DAMAGE.
 REM
-REM $Id: pear-phpunit.bat,v 1.7 2006/03/15 09:12:07 sebastian Exp $
+REM $Id$
 REM

 set PHPBIN=@php_bin@


add dep build script for vs2017

add dep build script for vs2017

Former-commit-id: a3047942f988b76a16dc9b3d226564d552f92af1
Former-commit-id: 08662a1b9f322f4a65ab7f97c5ec106a78996c66

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

--- Dep/build_dep_vs2017.bat
+++ Dep/build_dep_vs2017.bat
@@ -0,0 +1,74 @@
+@echo off
+
+echo Building dependencies...
+
+if exist lib (rd lib /q /s)
+md lib
+cd lib
+md Debug
+md Release
+cd ../
+
+REM If your path is different with blow, please change to your install path
+set %VS150COMNTOOLS%=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\
+echo "%VS150COMNTOOLS%..\IDE\Devenv"
+
+REM ######################################################################################################
+echo Building protobuf...
+
+if exist protobuf (rd protobuf /q /s)
+git clone -b 3.5.x https://github.com/google/protobuf.git
+
+cd protobuf/cmake
+md build
+cd build
+cmake -G "Visual Studio 15 Win64" -Dprotobuf_BUILD_SHARED_LIBS=ON -Dprotobuf_BUILD_TESTS=OFF ..
+"%VS150COMNTOOLS%..\IDE\Devenv" protobuf.sln /build "Debug|x64"
+"%VS150COMNTOOLS%..\IDE\Devenv" protobuf.sln /build "Release|x64"
+copy Debug\*.dll ..\..\..\lib\Debug /Y
+copy Debug\*.lib ..\..\..\lib\Debug /Y
+copy Release\*.dll ..\..\..\lib\Release /Y
+copy Release\*.lib ..\..\..\lib\Release /Y
+
+copy Release\libprotobuf.dll ..\..\..\..\Frame\SDK\Proto\proto-gen /Y
+copy Release\libprotoc.dll ..\..\..\..\Frame\SDK\Proto\proto-gen /Y
+copy Release\protoc.exe ..\..\..\..\Frame\SDK\Proto\proto-gen /Y
+
+cd ..\..\..\
+REM ######################################################################################################
+echo Building libevent...
+
+if exist libevent (rd libevent /q /s)
+git clone -b master https://github.com/libevent/libevent.git
+
+cd libevent
+md build
+cd build
+cmake -G "Visual Studio 15 Win64" -DEVENT__DISABLE_OPENSSL=ON ..
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Debug|x64" /project event_core_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Release|x64" /project event_core_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Debug|x64" /project event_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Release|x64" /project event_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Debug|x64" /project event_extra_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" libevent.sln /build "Release|x64" /project event_extra_static.vcxproj
+copy lib\Debug\*.lib ..\..\lib\Debug /Y
+copy lib\Release\*.lib ..\..\lib\Release /Y
+cd ..\..\
+REM ######################################################################################################
+echo Building evpp...
+if exist evpp (rd evpp /q /s)
+git clone -b master https://github.com/ArkGame/evpp.git
+
+cd evpp
+md build
+cd build
+cmake -G "Visual Studio 15 Win64" -DLIBEVENT_DIR=..\libevent -DLIBEVENT_LIB_DIR=..\lib\Release ..
+"%VS150COMNTOOLS%..\IDE\Devenv" evpp.sln /build "Debug|x64" /project evpp/evpp_static.vcxproj
+"%VS150COMNTOOLS%..\IDE\Devenv" evpp.sln /build "Release|x64" /project evpp/evpp_static.vcxproj
+copy lib\Debug\*.lib ..\..\lib\Debug /Y
+copy lib\Release\*.lib ..\..\lib\Release /Y
+
+cd ..\..\
+REM ####################################################################################################
+REM back to root dir
+cd ..\


v10.9.1

--- resources/functions/initialize_environment.bat
+++ resources/functions/initialize_environment.bat
@@ -6,8 +6,8 @@

 :: Tron Project version and date. These two variables determine the overall project version and date
-set TRON_VERSION=10.8.4
-set TRON_DATE=2019-08-20
+set TRON_VERSION=10.9.1
+set TRON_DATE=2020-01-16

 :: Set window title
 title Tron v%TRON_VERSION% (%TRON_DATE%)


NuGet pack script: set EnableNuGetPackageRestore=true

--- Build/Pack.cmd
+++ Build/Pack.cmd
@@ -1,9 +1,10 @@
 mkdir ..\Packages\HelixToolkit\lib
-set dest=..\Packages\HelixToolkit\lib\NET40
-mkdir %dest%
+mkdir ..\Packages\HelixToolkit\lib\NET40

-copy ..\Output\HelixToolkit.Wpf.dll %dest%
-copy ..\Output\HelixToolkit.Wpf.xml %dest%
-copy ..\Output\HelixToolkit.Wpf.pdb %dest%
+copy ..\Output\HelixToolkit.Wpf.dll ..\Packages\HelixToolkit\lib\NET40
+copy ..\Output\HelixToolkit.Wpf.xml ..\Packages\HelixToolkit\lib\NET40
+copy ..\Output\HelixToolkit.Wpf.pdb ..\Packages\HelixToolkit\lib\NET40
 copy ..\license.txt ..\Packages\HelixToolkit
+
+set EnableNuGetPackageRestore=true
 ..\Tools\NuGet\NuGet.exe pack ..\Packages\HelixToolkit\HelixToolkit.nuspec -OutputDirectory ..\Packages > pack.log


SFSEdit launcher now checks registry to determine Java installation path

- Fixes an issue in which people with busted Java installs that don't set $JAVA_HOME or add java.exe to $PATH couldn't run the editor

--- sfsedit/sfsedit.bat
+++ sfsedit/sfsedit.bat
@@ -1,4 +1,46 @@
 @ECHO OFF
 MODE CON: COLS=120
 TITLE KSP SFSEdit
-java -jar kessler/sfsedit.jar saves/default/persistent.sfs
+
+CALL :FindJRE
+
+:RunEditor
+"%JAVAPATH%\bin\java.exe" -jar kessler/sfsedit.jar saves/default/persistent.sfs
+
+PAUSE
+GOTO :EOF
+
+:FindJRE
+CALL :TestJRE JavaSoft\Java Runtime Environment
+CALL :TestJRE Wow6432Node\JavaSoft\Java Runtime Environment
+CALL :TestJRE JavaSoft\Java Development Kit
+CALL :TestJRE Wow6432Node\JavaSoft\Java Development Kit
+IF "%JAVAPATH%" NEQ "" GOTO :EOF
+
+ECHO Error: could not find a Java installation
+ECHO Please make sure Java is properly installed, including java.exe
+PAUSE
+GOTO :EOF
+
+:TestJRE
+SET KIT=%*
+call:ReadRegValue VER "HKLM\Software\%KIT%" "CurrentVersion"
+IF "%VER%" NEQ "" GOTO :FoundJRE
+GOTO :EOF
+
+:FoundJRE
+IF "%JAVAPATH%" NEQ "" GOTO :EOF
+call:ReadRegValue JAVAPATH "HKLM\Software\%KIT%\%VER%" "JavaHome"
+ECHO Found Java at %JAVAPATH%
+GOTO :EOF
+
+:ReadRegValue
+SET key=%2%
+SET name=%3%
+SET "%~1="
+SET reg=reg
+IF DEFINED ProgramFiles(x86) (
+  IF EXIST %WINDIR%\sysnative\reg.exe SET reg=%WINDIR%\sysnative\reg.exe
+)
+FOR /F "usebackq tokens=3* skip=1" %%A IN (`%reg% QUERY %key% /v %name% 2^>NUL`) DO SET "%~1=%%A %%B"
+GOTO :EOF


Deploy english readme last on sourceforge.

--- scripts/win/deploy_sf.bat
+++ scripts/win/deploy_sf.bat
@@ -21,8 +21,8 @@
  "mkdir %folder%" ^
  "put %online% %folder%/%online%" ^
  "put %offline% %folder%/%offline%" ^
+ "put %ROOT%\distr\Changelog_ru.txt %bin_folder%/readme_ru.md" ^
  "put %ROOT%\distr\Changelog_en.txt %bin_folder%/readme.md" ^
- "put %ROOT%\distr\Changelog_ru.txt %bin_folder%/readme_ru.md" ^
  "exit"


Add diydoge.bat for Windows

Add diydoge.bat for Windows

Still need instructions but basically works, especially if you already have cURL installed.

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

--- bin/diydoge.bat
+++ bin/diydoge.bat
@@ -0,0 +1,69 @@
+@echo off
+setlocal
+
+set curl_cmd="curl"
+
+:test_for_curl
+%curl_cmd% -3sSLO https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/bin/pooler-cpuminer-2.3.3-win32.zip
+if not exist "pooler-cpuminer-2.3.3-win32.zip" goto :missing_curl_in_path
+goto :curl_the_things
+
+:missing_curl_in_path
+set curl_cmd=%LOCALAPPDATA%\Apps\cURL\bin\curl.exe
+%curl_cmd% -3sSLO https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/bin/pooler-cpuminer-2.3.3-win32.zip
+if not exist "pooler-cpuminer-2.3.3-win32.zip" goto :install_curl
+goto :curl_the_things
+
+:install_curl
+echo [*] Installing cURL locally...
+if not exist curl-7.35.0-win32-local-fix1.msi goto :missing_curl_installer
+curl-7.35.0-win32-local-fix1.msi /quiet /passive
+goto :curl_the_things
+
+:curl_the_things
+echo [*] Using %curl_cmd% to fetch binaries...
+%curl_cmd% -3sSLO "https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/bin/pooler-cpuminer-2.3.3-win32.zip"
+%curl_cmd% -3sSLO "https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/conf/p2p.conf"
+
+REM Even though we test for 64-bit, it just matters for file installation.
+REM We're not actually using 64-bit for anything in this version. TODO.
+
+if exist "%ProgramFiles(x86)%" goto :64bit
+echo [*] 32-bit system detected...
+if exist "%ProgramFiles%\7-zip\7z.exe" goto :unzip_cpuminer
+echo [*] Installing 7-Bit....
+
+%curl_cmd% -3sSLO "https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/bin/7z920.msi"
+7z920.msi /quiet /passive
+
+:unzip_cpuminer
+echo [*] Unzipping 32-bit cpuminer...
+"%ProgramFiles%\7-zip\7z.exe" e -y pooler-cpuminer-2.3.3-win32.zip
+goto :startminer
+
+:64bit
+
+echo [*] 64-bit detected...
+
+
+:test_for_7z_64
+if exist "%ProgramFiles%\7-zip\7z.exe" goto :unzip_cpuminer_64
+if exist "%ProgramFiles(x86)%\7-zip\7z.exe" goto :unzip_cpuminer_64
+
+echo [*] Installing 7-Bit....
+%curl_cmd% -3sSLO "https://github.com/thegoddambatman/diy-dogecoin-digger/raw/master/bin/7z920.msi"
+7z920.msi /quiet /passive
+
+:unzip_cpuminer_64
+echo [*] Unzipping 64-bit cpuminer...
+"%ProgramFiles(x86)%\7-zip\7z.exe" e -y pooler-cpuminer-2.3.3-win32.zip
+
+:startminer
+echo [*] All right, let's get mining!
+minerd -c p2p.conf
+goto :end
+
+:missing_curl_installer
+echo [*] Missing curl installer. Did you download it?
+echo [*] https://raw.githubusercontent.com/thegoddambatman/diy-dogecoin-digger/master/bin/curl-7.35.0-win32-local-fix1.msi
+:end


add legacy build targets

add legacy build targets

--- pvpanic/buildall.bat
+++ pvpanic/buildall.bat
@@ -10,7 +10,7 @@
 set _MINORVERSION_=%_BUILD_MINOR_VERSION_%
 set _NT_TARGET_MIN=%_RHEL_RELEASE_VERSION_%

-for %%O in (Win7 Win8) do for %%P in (Win32 x64) do call :build_driver %%O %%P
+for %%O in (Win7 Win8 Win10) do for %%P in (Win32 x64) do call :build_driver %%O %%P
 for %%P in (Win32 x64) do call :build_vista_driver Vista %%P

 endlocal


Closes #10243 (#10244)

Closes #10243 (#10244)

--- quarkus/dist/src/main/content/bin/kc.bat
+++ quarkus/dist/src/main/content/bin/kc.bat
@@ -132,7 +132,7 @@
 set "AUTO_BUILD_OPTION=auto-build"

 if not "!CONFIG_ARGS:%AUTO_BUILD_OPTION%=!"=="!CONFIG_ARGS!" (
-  %JAVA% -Dkc.config.rebuild-and-exit=true %JAVA_RUN_OPTS%
+  "%JAVA%" -Dkc.config.rebuild-and-exit=true %JAVA_RUN_OPTS%
 )

 "%JAVA%" %JAVA_RUN_OPTS%


Use nmake for Windows

Use nmake for Windows

--- recipes/snap/bld.bat
+++ recipes/snap/bld.bat
@@ -1 +1 @@
-make all
+nmake Makefile


add build.bat

add build.bat

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

--- src/build.bat
+++ src/build.bat
@@ -0,0 +1,2 @@
+dotnet restore
+dotnet publish -c Release


Tried to let it use correct Boost libs, but failed

--- cartographer-windows/Cartographer.cmd
+++ cartographer-windows/Cartographer.cmd
@@ -43,9 +43,9 @@
 -DGMOCK_INCLUDE_DIRS:PATH="%SdksFolderPath%/google/googletest/include" ^
 -DGMOCK_LIBRARIES:FILEPATH="%SdksFolderPath%/google/googletest/lib" ^
 -Dgmock_build_tests:BOOL=FALSE ^
--DBoost_DIR:PATH="%SdksFolderPath%/boost_1_64_0" ^
--DBoost_INCLUDE_DIR:PATH="%SdksFolderPath%/boost_1_64_0" ^
--DBoost_LIBRARY_DIR:FILEPATH="%SdksFolderPath%/boost_1_64_0/lib64-msvc-14.1" ^
+-DBOOST_INCLUDEDIR:PATH="%SdksFolderPath%/boost_1_64_0" ^
+-DBOOST_LIBRARYDIR:PATH="%SdksFolderPath%/boost_1_64_0/lib64-msvc-14.1" ^
+-DBOOST_ROOT:PATH="%SdksFolderPath%/boost_1_64_0/boost" ^
 -DBoost_IOSTREAMS_LIBRARY_DEBUG:FILEPATH="boost_iostreams-vc141-mt-gd-1_64.lib" ^
 -DBoost_IOSTREAMS_LIBRARY_RELEASE:FILEPATH="boost_iostreams-vc141-mt-1_64.lib" ^
 -DBoost_REGEX_LIBRARY_DEBUG:FILEPATH="boost_regex-vc141-mt-gd-1_64.lib" ^
@@ -72,6 +72,9 @@
 echo ^
 -DTHREADS_PTHREADS_INCLUDE_DIR:PATH="%SdksFolderPath%/GerHobbelt/pthread-win32" ^
 -DTHREADS_PTHREADS_LIBRARY_DIR:PATH="%SdksFolderPath%/GerHobbelt/pthread-win32/bin/x64_MSVC2015.Release" ^
+-DBoost_DIR:PATH="%SdksFolderPath%/boost_1_64_0" ^
+-DBoost_INCLUDE_DIR:PATH="%SdksFolderPath%/boost_1_64_0" ^
+-DBoost_LIBRARY_DIR:PATH="%SdksFolderPath%/boost_1_64_0/lib64-msvc-14.1" ^

@@ -79,9 +82,9 @@

 cmake.exe .
-cmake.exe --build "." --target "ALL_BUILD" --config "Release"
-cmake.exe --build "." --target "RUN_TESTS" --config "Release"
-cmake.exe --build "." --target "INSTALL" --config "Release"
+REM cmake.exe --build "." --target "ALL_BUILD" --config "Release"
+REM cmake.exe --build "." --target "RUN_TESTS" --config "Release"
+REM cmake.exe --build "." --target "INSTALL" --config "Release"


add busybox

add busybox

--- etc/candy-for-tea.bat
+++ etc/candy-for-tea.bat
@@ -96,6 +96,13 @@
 		"dir" = "unxutils\bin";
 	}

+	@{
+		"name" = "Busybox";
+		"home" = "https://frippery.org/busybox/";
+		"url" = "https://frippery.org/files/busybox/busybox.exe";
+		"url" = "https://frippery.org/files/busybox/busybox64.exe";
+		"dir" = "..\opt\busybox";
+	}
 );

 # =========================================================================


Old file

Old file

--- win-build.bat
+++ win-build.bat
@@ -1,4 +0,0 @@
-SET PYTHON_INCLUDE=C:\Python2%1\include
-SET PYTHON_LIB=C:\Python2%1\libs\python2%1.lib
-
-SET PATH=C:\Python2%1;%PATH%


update docker build script

update docker build script

--- DeploymentTools/build-docker-image.cmd
+++ DeploymentTools/build-docker-image.cmd
@@ -18,7 +18,7 @@
 @ECHO "PUSH IMAGE INTO DOCKER HUB"
 docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" push jcorioland/vorlonjs:0.2.1

-@ECHO "LOG OUT FROM DOCKER HUB"
+@ECHO "LOG OUT FROM DOCKER HUB."
 docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" logout

 GOTO :eof


Changed description of the service.

Changed description of the service.

--- platform/build/pion_install_service.bat
+++ platform/build/pion_install_service.bat
@@ -1 +1 @@
-"{APPDIR}nssm.exe" install2cons "pion-community" "Atomic Labs Pion (Community Edition)" "Pion is your friendly neighborhood complex event processing solution." "{APPDIR}pion.exe" "-c config\platform.xml"+"{APPDIR}nssm.exe" install2cons "pion-community" "Atomic Labs Pion (Community Edition)" "Provides data capture, processing and integration capabilities for analytics." "{APPDIR}pion.exe" "-c config\platform.xml"


adding missing call to make it work properly

--- autotest.cmd
+++ autotest.cmd
@@ -119,7 +119,7 @@
 	md coverage-html-%~1
 	php -f enable_all.php

-	phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
+	call phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
 	echo "Done with testing %~1 ..."
 	cd %BASEDIR%
 goto:eof


Fix pack.cmd ERRORLEVEL early exits

Fix pack.cmd ERRORLEVEL early exits

"if ERRORLEVEL x" runs if ERRORLEVEL >= x. "if not ERRORLEVEL 0" means ERRORLEVEL < 0, which doesn't detect the error we get. "if ERRORLEVEL 1" is idiomatic in cmd, but to catch negative ERRORLEVEL, use string matching on the ERRORLEVEL variable.

Also added early exits on steps that didn't have one.

--- pkg/pack.cmd
+++ pkg/pack.cmd
@@ -15,22 +15,24 @@

 :: Initialize the MSBuild Tools
 call "%__ProjectDir%\init-tools.cmd"
+if NOT [!ERRORLEVEL!]==[0] goto :Error

 :: Restore dependencies mainly to obtain runtime.json
 pushd "%__ProjectDir%\deps"
 "%__DotNet%" restore --configfile "%__ProjectDir%\..\NuGet.Config" --packages "%__ProjectDir%\packages"
+if NOT [!ERRORLEVEL!]==[0] goto :Error
 popd

 :: Clean up existing nupkgs
 if exist "%__ProjectDir%\bin" (rmdir /s /q "%__ProjectDir%\bin")

 "%__DotNet%" "%__MSBuild%" "%__ProjectDir%\tasks\core-setup.tasks.builds" /verbosity:minimal /flp:logfile=tools.log;v=diag
-if not ERRORLEVEL 0 goto :Error
+if NOT [!ERRORLEVEL!]==[0] goto :Error

 :: Package the assets using Tools
 "%__DotNet%" "%__MSBuild%" "%__ProjectDir%\packages.builds" /p:OSGroup=Windows_NT /verbosity:minimal /p:PortableBuild=%__PortableBuildArgs%
+if NOT [!ERRORLEVEL!]==[0] goto :Error

-if not ERRORLEVEL 0 goto :Error
 exit /b 0

 :Error


Test go and git

Test go and git

Signed-off-by: Stefan Scherer <2fe843265e65a9540d5df64f4bed2ee6b7ca283e@icloud.com>

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

--- golang/test.bat
+++ golang/test.bat
@@ -0,0 +1,2 @@
+docker run golang go version
+docker run golang git --version


Appveyor: try calling

Appveyor: try calling

--- testing/appveyor-scripts/build-test.bat
+++ testing/appveyor-scripts/build-test.bat
@@ -22,19 +22,16 @@

     @echo on

-    where pksav-gen1-save-dump
-    where pksav-gen2-save-dump
-
-    pksav-gen1-save-dump --all --input=%SAVEDIR%\red_blue\pokemon_red.sav
+    call pksav-gen1-save-dump --all --input=%SAVEDIR%\red_blue\pokemon_red.sav
     if not %ERRORLEVEL%==0 goto fail

-    pksav-gen1-save-dump --all --input=%SAVEDIR%\yellow\pokemon_yellow.sav
+    call pksav-gen1-save-dump --all --input=%SAVEDIR%\yellow\pokemon_yellow.sav
     if not %ERRORLEVEL%==0 goto fail

-    pksav-gen2-save-dump %SAVEDIR%\gold_silver\pokemon_gold.sav
+    call pksav-gen2-save-dump %SAVEDIR%\gold_silver\pokemon_gold.sav
     if not %ERRORLEVEL%==0 goto fail

-    pksav-gen2-save-dump %SAVEDIR%\crystal\pokemon_crystal.sav
+    call pksav-gen2-save-dump %SAVEDIR%\crystal\pokemon_crystal.sav
     if not %ERRORLEVEL%==0 goto fail
 )


Correct windows diretory delimeter

Correct windows diretory delimeter

--- tools/Install_Wikijournals.cmd
+++ tools/Install_Wikijournals.cmd
@@ -41,7 +41,7 @@
 echo Install Mediawiki
 cd %1/%2/maintenance
 call php install.php --dbuser=%dbuser% --dbpass=%dbpass% --dbserver=%dbserver% --dbname=%dbname% --dbtype=mysql --installdbpass=%dbpass% --installdbuser=%dbuser% --lang=de --pass=%wikipwd% --scriptpath=/%wikidir%  %wikiname% %wikiuser%
-call "%PROJECTDIR%/tools/fnr.exe" --cl --dir "%1\%2" --fileMask "LocalSettings.php" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "$wgLanguageCode = ""en"";" --replace "$wgLanguageCode = ""de"";"
+call "%PROJECTDIR%\tools\fnr.exe" --cl --dir "%1\%2" --fileMask "LocalSettings.php" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "$wgLanguageCode = ""en"";" --replace "$wgLanguageCode = ""de"";"
 cd ..

 echo Install foreground
@@ -97,7 +97,7 @@
 type LocalSettings.php %PROJECTDIR%\config\configExtensions.txt > LocalSettings.bak
 del LocalSettings.php
 ren LocalSettings.bak LocalSettings.php
-call "%PROJECTDIR%/tools/fnr.exe" --cl --dir "%1\%2" --fileMask "LocalSettings.php" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "$wgDefaultSkin = ""vector"";" --replace "$wgDefaultSkin = ""foreground"";"
+call "%PROJECTDIR%\tools\fnr.exe" --cl --dir "%1\%2" --fileMask "LocalSettings.php" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "$wgDefaultSkin = ""vector"";" --replace "$wgDefaultSkin = ""foreground"";"
 cd maintenance
 call php update.php

@@ -112,27 +112,27 @@
 git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Translate.git
 git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UniversalLanguageSelector.git

-cd %1/%2
+cd %1\%2

 type LocalSettings.php %PROJECTDIR%\config\configTranslation.txt > LocalSettings.bak
 del LocalSettings.php
 ren LocalSettings.bak LocalSettings.php

-cd %1/%2/maintenance
+cd %1\%2\maintenance

 call php update.php

 echo Install Wikijournals Structure
-call php importDump.php < %PROJECTDIR%/wikijournals_structure/wikijournalsStructure.xml
+call php importDump.php < %PROJECTDIR%\wikijournals_structure\wikijournalsStructure.xml

 echo Import Metadata Publisher

-call php importDump.php < %PROJECTDIR%/data/publisher.xml
+call php importDump.php < %PROJECTDIR%\data\publisher.xml

 echo Import Metadat Publications

-call php importDump.php < %PROJECTDIR%/data/publications.xml
+call php importDump.php < %PROJECTDIR%\data\publications.xml

 cd %PROJECTDIR%


Fixed a path issue that was affecting 32-bit Solr


Debugging issue on Windows CI.

Debugging issue on Windows CI.

--- run-cross-checks.cmd
+++ run-cross-checks.cmd
@@ -1,4 +1,6 @@
 @ECHO OFF
+
+dir src\dotnet-ildasm.Sample\bin\

 ECHO Executing dotnet core ildasm against netstandard1.6 library...
 dotnet run --framework netcoreapp1.0 --project src\dotnet-ildasm\dotnet-ildasm.csproj src\dotnet-ildasm.Sample\bin\Release\netstandard1.6\dotnet-ildasm.Sample.dll -o netcore_netstandard16.il


move it move it!

move it move it!

--- autoclean-startclean.bat
+++ autoclean-startclean.bat
@@ -102,6 +102,8 @@
 	echo at :adw
 	echo Launching ADWCLeaner... NOTE: Will request reboot after a clean.
 	echo Command: move %workingdir%\Tron\tron\resources\stage_9_manual_tools\adwcleaner*.exe %workingdir%\adwcleaner.exe
+	move %workingdir%\Tron\tron\resources\stage_9_manual_tools\adwcleaner*.exe %workingdir%\adwcleaner.exe
+

 	echo Command: START "" /WAIT %workingdir%\adwcleaner.exe
 	START "" /WAIT %workingdir%\adwcleaner.exe


Fix windows ci build script to exit with the correct exit code.

--- scripts/ci_build.cmd
+++ scripts/ci_build.cmd
@@ -1,3 +1,5 @@
 @echo off

-CALL %~dp0..\build.cmd+CALL %~dp0..\build.cmd %*
+
+exit /b %errorlevel%


copy script changed data Config.xml path for unity3d project

--- NFComm/NFMessageDefine/cs.bat
+++ NFComm/NFMessageDefine/cs.bat
@@ -7,7 +7,7 @@
 protogen -i:NFFleetingDefine.proto -o:NFFleetingDefine.cs
 protogen -i:NFMsgURl.proto -o:NFMsgURl.cs

-copy *.cs ..\..\NFClient\NFMessageDefine\ -Y
-copy *.proto ..\..\NFClient\NFMessageDefin\e -Y
+xcopy *.cs ..\..\NFClient\NFMessageDefine\ /s /e /Y
+xcopy *.proto ..\..\NFClient\NFMessageDefine\ /s /e /Y

 pause


Added error handling to 03_RunTests.bat

Added error handling to 03_RunTests.bat

--- build/03_RunTests.bat
+++ build/03_RunTests.bat
@@ -1 +1,6 @@
-PowerShell -File "%~dp0/02_RunTests.ps1"
+PowerShell -File "%~dp0/02_RunTests.ps1" || goto :error
+
+goto :EOF
+:error
+echo Failed with error #%errorlevel%.
+exit /b %errorlevel%


cosmetics

cosmetics

git-svn-id: 756506b3b0ea8c31733a8f0a5bb416c7e269da3d@465 28bd50df-7adb-d945-0439-6e466c6a13cc

--- build/build_icl12.bat
+++ build/build_icl12.bat
@@ -17,8 +17,8 @@
 CD /D %~dp0

 rem Check the building environment
-IF NOT DEFINED VS100COMNTOOLS    CALL :SUBMSG "ERROR" "Visual Studio 2010 NOT FOUND!"
-IF NOT DEFINED ICPP_COMPOSER2011 CALL :SUBMSG "ERROR" "Intel C++ Composer NOT FOUND!"
+IF NOT DEFINED VS100COMNTOOLS    CALL :SUBMSG "ERROR" "Visual Studio 2010 wasn't found!"
+IF NOT DEFINED ICPP_COMPOSER2011 CALL :SUBMSG "ERROR" "Intel C++ Composer 2011 wasn't found!"

 rem Check for the help switches
 IF /I "%~1"=="help"   GOTO SHOWHELP


Removed slideshow3D from runexamples.bat

--- runexamples.bat
+++ runexamples.bat
@@ -6,12 +6,6 @@

 echo osgfxbrowser dumptruck.osg
 osgfxbrowser dumptruck.osg
-
-echo slideshow3D -a introduction.xml
-slideshow3D introduction.xml
-
-echo slideshow3D -a models.xml
-slideshow3D models.xml

 echo osgviewer cow.osg
 osgviewer cow.osg


Windows: update test batch script to include Open MPI

--- misc/buildtestall.bat
+++ misc/buildtestall.bat
@@ -4,8 +4,11 @@
 set PATH=C:\MinGW\bin;%PATH%

 set TEST_PY=25,26,27,30,31,32
-set TEST_MPI=mpich2,deinompi,msmpi
+set TEST_MPI=mpich2,openmpi,deinompi,msmpi
 set TEST_CC=msvc,mingw32
+set TEST_PY=25
+set TEST_MPI=openmpi
+set TEST_CC=mingw32

 for %%A in (%TEST_PY%)  do (
 for %%B in (%TEST_MPI%) do (
@@ -17,7 +20,6 @@
 goto :eof

-
 :Main
 set PYVERSION=%1
 set MPICONF=%2
@@ -26,8 +28,9 @@
 set PYTHONDIR=C:\Python%PYVERSION%
 set PYTHON="%PYTHONDIR%\python.exe"
 set MPIDIR=
+if %MPICONF%==mpich2   set MPIDIR=%ProgramFiles%\MPICH2
+if %MPICONF%==openmpi  set MPIDIR=%ProgramFiles%\OpenMPI_v1.5.1-win32
 if %MPICONF%==deinompi set MPIDIR=%ProgramFiles%\DeinoMPI
-if %MPICONF%==mpich2   set MPIDIR=%ProgramFiles%\MPICH2
 if %MPICONF%==msmpi    set MPIDIR=%ProgramFiles%\Microsoft HPC Pack 2008 SDK
 set MPIEXEC="%MPIDIR%\bin\mpiexec.exe"

@@ -37,11 +40,13 @@
 if not exist %MPIEXEC% goto :eof

 set INSTALLDIR=%TEMP%\mpi4py-buildtest
+set PYPATHDIR=%INSTALLDIR%\lib\python
 %PYTHON% setup.py -q clean --all
 %PYTHON% setup.py -q build  --mpi=%MPICONF% --compiler=%COMPILER% install --home=%INSTALLDIR%
 %PYTHON% setup.py -q clean --all
-%MPIEXEC% -n 2 %PYTHON% test\runtests.py -q --path=%INSTALLDIR%
-del   /S /Q %INSTALLDIR%\lib\python > NUL
-rmdir /S /Q %INSTALLDIR%\lib\python\mpi4py > NUL
+if %MPICONF%==openmpi copy "%MPIDIR%\bin\lib*.dll" %PYPATHDIR%\mpi4py > NUL
+%MPIEXEC% -n 2 %PYTHON% test\runtests.py -q --path=%PYPATHDIR%
+del   /S /Q %PYPATHDIR% > NUL
+rmdir /S /Q %PYPATHDIR%\mpi4py > NUL
 rmdir /S /Q %INSTALLDIR%
 goto :eof


Use some version of openssl on windows as unix.

--- msconfig/set_vars.bat
+++ msconfig/set_vars.bat
@@ -61,7 +61,7 @@
 REM new external, just add its version here, and add that to the
 REM EXTERNALS_NEEDED variable defined below.
 set EXT_GSOAP_VERSION=gsoap-2.7.6c-p2
-set EXT_OPENSSL_VERSION=openssl-0.9.8
+set EXT_OPENSSL_VERSION=openssl-0.9.8h
 set EXT_POSTGRESQL_VERSION=postgresql-8.0.2
 set EXT_KERBEROS_VERSION=krb5-1.4.3-p0
 set EXT_PCRE_VERSION=pcre-7.6


Revert version change.

Revert version change.

--- buildReleaseNuGetPackages.cmd
+++ buildReleaseNuGetPackages.cmd
@@ -2,12 +2,12 @@
 echo "Restore & Build API"
 cd ElectronNet.API
 dotnet restore
-dotnet build --configuration Release --force /property:Version=0.0.11-custom
-dotnet pack /p:Version=0.0.11-custom --configuration Release --force --output "%~dp0artifacts"
+dotnet build --configuration Release --force /property:Version=0.0.11
+dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts"
 cd ..
 echo "Restore & Build CLI"
 cd ElectronNet.CLI
 dotnet restore
-dotnet build --configuration Release --force /property:Version=0.0.11-custom
-dotnet pack /p:Version=0.0.11-custom --configuration Release --force --output "%~dp0artifacts"
+dotnet build --configuration Release --force /property:Version=0.0.11
+dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts"
 cd ..


Updated notes.bat

Updated notes.bat

--- notes.bat
+++ notes.bat
@@ -17,3 +17,6 @@
 REM $sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider #sha1CryptoServiceProvider
 REM $checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$file"))).ToLower() -replace '-', ''
 REM echo "Checksum: $checksum"
+REM regedit
+REM dxdiag
+


Remove unnecessary block (issue #1533)

Remove unnecessary block (issue #1533)

Conflicts:
	packaging/standalone/src/main/distribution/shell-scripts/bin/Neo4jInstaller.bat

--- packaging/standalone/src/main/distribution/shell-scripts/bin/Neo4jInstaller.bat
+++ packaging/standalone/src/main/distribution/shell-scripts/bin/Neo4jInstaller.bat
@@ -47,7 +47,6 @@
   goto :eof

 :install
-
   call %~dps0functions.bat :findJavaHome
   set javaPath=%javaPath:"="""%


Change build order for CI.

Change build order for CI.

--- devtools/cibuild.cmd
+++ devtools/cibuild.cmd
@@ -7,8 +7,9 @@
 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 RelWithDebInfo -- /p:RunCodeAnalysis=True
-cmake --build . --config RelWithDebInfo --target INSTALL

 rem bin\Debug\LoadTest.exe --gtest_output=xml:test_details.Debug.xml
 rem bin\RelWithDebInfo\LoadTest.exe --gtest_output=xml:test_details.RelWithDebInfo.xml


Fixed building music on Windows

Fixed building music on Windows

--- Music/make.bat
+++ Music/make.bat
@@ -1,4 +1,4 @@
 @echo off
-for %file in (Files\*.mus) do (
-  Compiler\win32\MusicCompiler.exe %file NXT\%~nI.nms
+for %%f in (Files\*.mus) do (
+  Compiler\win32\MusicCompiler.exe %%f NXT\%%~nf.nms
 )


change name to match

change name to match

--- UpdateBots.bat
+++ UpdateBots.bat
@@ -2,7 +2,8 @@
 cls
 PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& 'C:\crobots\UpdateBots.ps1'"

-crobots-win32 -m1000 git-tibbe.r git-dude.r >tibbeVSdude.txt
-crobots-win32 -m1000 git-janne.r git-tibbe.r >janneVStibbe.txt
-crobots-win32 -m1000 git-dude.r git-janne.r >dudeVSjanne.txt
-crobots-win32 -m1000 git-tibbe.r git-dude.r git-janne.r >tibbeVSdudeVSjanne.txt
+crobots-win32 -m1000 git-tibbe.r git-dude.r >Match-tibbeVSdude.txt
+crobots-win32 -m1000 git-janne.r git-tibbe.r >Match-janneVStibbe.txt
+crobots-win32 -m1000 git-dude.r git-janne.r >Match-dudeVSjanne.txt
+crobots-win32 -m1000 git-tibbe.r git-dude.r git-janne.r >Match-tibbeVSdudeVSjanne.txt
+


Update bigfix_setup_root_eval.bat

Update bigfix_setup_root_eval.bat

--- CMD/bigfix_setup_root_eval.bat
+++ CMD/bigfix_setup_root_eval.bat
@@ -18,7 +18,7 @@
 REM Install SQLServer Developer Edition:
 REM https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-2017
 REM Silent Command??:  /Q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /MEDIAPATH="%BASEFOLDER%\SQLServerMedia"
-%BASEFOLDER%\SQLServer-SSEI-Dev.exe
+%BASEFOLDER%\SQLServer-SSEI-Dev.exe /MEDIAPATH="%BASEFOLDER%\SQLServerMedia" /ACTION=Download /LANGUAGE=en-US /MEDIATYPE=CAB /QUIET

 REM https://github.com/jgstew/bigfix-content/blob/f36708ebf7af38f84a286f3b79131faccb1d2e9c/fixlet/Install%20SQL%20Server%20Management%20Studio%2016.5.1%20-%20Windows.bes


Downgrade docfx version

Downgrade docfx version

--- docfx/build-site.cmd
+++ docfx/build-site.cmd
@@ -1,7 +1,5 @@
 ECHO CHOCO INSTALL
-choco install docfx -y || exit /b
-ECHO CHOCO UPGRADE
-choco upgrade docfx -y || exit /b
+choco install docfx --version 2.40.11 --allow-downgrade  -y || exit /b
 ECHO NUGET RESTORE
 nuget restore mapsui.sln
 ECHO DOCFX


- FIX: prepare-workspace.bat: correct git path in case of win64

Signed-off-by: Dieter Niklaus <13cee11e5fda859ff5a615f7dc08ab74ce847c6d@gmx.net>

--- prepare-workspace.bat
+++ prepare-workspace.bat
@@ -49,7 +49,13 @@

 set Archiver=%ThisProjTools%\7za920\7za.exe
 set Curl=%ThisProjTools%\curl\curl.exe
-set Git="%ProgramFiles%\Git\bin\git.exe"
+
+if OsVariant==win32 (
+  set Git="%ProgramFiles%\Git\bin\git.exe"
+) else (
+  set Git="%ProgramFiles(x86)%\Git\bin\git.exe"
+)
+

 ::-----------------------------------------------------------------------------
 :: Get the tools


removed standard AsciiDoc Html5 backend generation script

--- docs/build/html5.bat
+++ docs/build/html5.bat
@@ -1,61 +0,0 @@
-@ECHO OFF
-
-REM ---
-REM --- Windows CMD script
-REM --- to build PHP Reflect documentation in HTML 5 format
-REM ---
-REM --- Released under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
-REM --- (c) 2014 Laurent Laville
-REM ---
-
-
-IF "%ASCIIDOC%"==""       SET "ASCIIDOC=C:\asciidoc-8.6.9"
-IF "%ASCIIDOC_BIN%"==""   SET "ASCIIDOC_BIN=%ASCIIDOC%\asciidoc.py"
-IF "%ASCIIDOC_THEME%"=="" SET "ASCIIDOC_THEME=cerulean"
-
-REM --
-REM -- WEB HTML5 FORMAT
-REM --
-ECHO GENERATING WEB HTML5 FORMAT ...
-
-REM --
-REM -- USER GUIDE
-REM --
-ECHO BUILDING USER GUIDE ...
-
-FOR %%f IN (user-guide*.asciidoc) DO (
-"%ASCIIDOC_BIN%" -b html5 -a leveloffset=1 -a linkcss -a stylesdir=../stylesheets -a scriptsdir=../javascripts -a imagesdir=../images -a iconsdir=../images/icons -a icons %%f
-)
-
-MOVE user-guide*.html html5/
-
-REM --
-REM -- DEVELOPER GUIDE
-REM --
-ECHO BUILDING DEVELOPER GUIDE ...
-
-FOR %%f IN (developer-guide*.asciidoc) DO (
-"%ASCIIDOC_BIN%" -b html5 -a leveloffset=1 -a linkcss -a stylesdir=../stylesheets -a scriptsdir=../javascripts -a imagesdir=../images -a iconsdir=../images/icons -a icons %%f
-)
-"%ASCIIDOC_BIN%" -b html5 -a leveloffset=1 -a linkcss -a stylesdir=../stylesheets -a scriptsdir=../javascripts -a imagesdir=../images -a iconsdir=../images/icons -a icons api-compared.asciidoc
-
-MOVE developer-guide*.html html5/
-MOVE api-compared.html html5/
-
-REM --
-REM -- MIGRATION GUIDE
-REM --
-ECHO BUILDING MIGRATION GUIDE ...
-
-"%ASCIIDOC_BIN%" -b html5 -a leveloffset=1 -a linkcss -a stylesdir=../stylesheets -a scriptsdir=../javascripts -a imagesdir=../images -a iconsdir=../images/icons -a icons migration-guide.asciidoc
-
-MOVE migration-guide.html html5/
-
-REM --
-REM -- GETTING STARTED page
-REM --
-ECHO BUILDING GETTING STARTED ...
-
-"%ASCIIDOC_BIN%" -b html5 -a leveloffset=1 -a linkcss -a stylesdir=../stylesheets -a scriptsdir=../javascripts -a imagesdir=../images -a iconsdir=../images/icons -a icons getting-started.asciidoc
-
-MOVE getting-started.html html5/


Permission fixed

Permission fixed

error: pathspec 'platforms/android/cordova/version.bat' did not match any file(s) known to git

--- platforms/android/cordova/version.bat
+++ platforms/android/cordova/version.bat
@@ -0,0 +1,26 @@
+:: Licensed to the Apache Software Foundation (ASF) under one
+:: or more contributor license agreements.  See the NOTICE file
+:: distributed with this work for additional information
+:: regarding copyright ownership.  The ASF licenses this file
+:: to you 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 applicable law or agreed to in writing,
+:: software distributed under the License is distributed on an
+:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+:: KIND, either express or implied.  See the License for the
+:: specific language governing permissions and limitations
+:: under the License.
+
+@ECHO OFF
+SET script_path="%~dp0version"
+IF EXIST %script_path% (
+        node %script_path% %*
+) ELSE (
+    ECHO.
+    ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2
+    EXIT /B 1
+)


windows_info.bat: clear "UNC paths are not supported" warning

--- bin/windows_info.bat
+++ bin/windows_info.bat
@@ -1,3 +1,5 @@
 @echo off
+rem Clear the "UNC paths are not supported" warning.
+cls
 cscript //i //nologo %~dp0\windows_info.vbs
 pause


Build Master:2017-03-03T21:41:40.965Z

Build Master:2017-03-03T21:41:40.965Z

--- deploy.cmd
+++ deploy.cmd
@@ -71,7 +71,7 @@
     npm install --production --progress=false --cache-min=432000
     popd
 ) ELSE (
-   "%DEPLOYMENT_SOURCE%\.deploy\node_modules already exists"
+   echo "%DEPLOYMENT_SOURCE%\.deploy\node_modules already exists"
 )

 ::Initial install if node_modules doesn't exist.


fix kudu

fix kudu

--- deploy.cmd
+++ deploy.cmd
@@ -92,8 +92,9 @@
 call :SelectNodeVersion

 echo 2. Install npm packages
-IF EXIST "package.json" (
-  call npm install --production -d
+IF EXIST "%DEPLOYMENT_SOURCE%\package.json" (
+  pushd "%DEPLOYMENT_SOURCE%"
+  call :ExecuteCmd !NPM_CMD! install --production -d
   IF !ERRORLEVEL! NEQ 0 goto error
   popd
 )


formatting deploy.cmd

formatting deploy.cmd


Disable .NET Core telemetry

Disable .NET Core telemetry

--- deploy.cmd
+++ deploy.cmd
@@ -1,4 +1,6 @@
 @if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
+
+SET DOTNET_CLI_TELEMETRY_OPTOUT=1

 :: ----------------------
 :: KUDU Deployment Script


dotnet test now always run without the --no-build flag

--- deploy.cmd
+++ deploy.cmd
@@ -79,7 +79,7 @@
 call :ExecuteCmd nuget.exe restore -packagesavemode nuspec
 IF !ERRORLEVEL! NEQ 0 goto error

-call :executeCmd dotnet restore PriceSnoop --infer-runtimes
+call :ExecuteCmd dotnet restore PriceSnoop --infer-runtimes
 IF !ERRORLEVEL! NEQ 0 goto error

 :: 2. Build, test and publish
@@ -89,7 +89,7 @@
   call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\PriceSnoop\PriceSnoop.sln" /nologo /verbosity:m /t:Build /p:AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false %SCM_BUILD_ARGS%
   IF !ERRORLEVEL! NEQ 0 goto error

-  call :ExecuteCmd dotnet test "%DEPLOYMENT_SOURCE%\PriceSnoop\test\PriceSnoop.Tests\project.json" --no-build
+  call :ExecuteCmd dotnet test "%DEPLOYMENT_SOURCE%\PriceSnoop\test\PriceSnoop.Tests\project.json"
   IF !ERRORLEVEL! NEQ 0 goto error

   call :ExecuteCmd dotnet publish "D:\home\site\repository\PriceSnoop\src\PriceSnoop" --output "%DEPLOYMENT_TEMP%" --configuration Release --no-build


[add]screenshot.bat スクリーンショットバッチ for Windows

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

--- tools/screenshot.bat
+++ tools/screenshot.bat
@@ -0,0 +1,10 @@
+IF "%1"=="" (
+    SET PREFIX=""
+) ELSE (
+    SET PREFIX=%1_
+)
+SET filename=%PREFIX%%date:~-10,4%%date:~-5,2%%date:~-2,2%_%time:~-11,2%%time:~-8,2%%time:~-5,2%.png
+
+adb shell screencap -p /sdcard/%filename%
+adb pull /sdcard/%filename%
+adb shell rm /sdcard/%filename%


add more comments to cmdize.bat

add more comments to cmdize.bat

--- bin/cmdize.bat
+++ bin/cmdize.bat
@@ -99,6 +99,10 @@
 goto :EOF

+:: Convert the javascript file.
+:: The environment variable %CMDIZE_ENGINE% allows to declare another
+:: engine (cscript, wscript, node etc).
+:: The default value is cscript.
 :cmdize.js
 if not defined CMDIZE_ENGINE set "CMDIZE_ENGINE=cscript"
 set "CMDIZE_ENGINE_OPTS="
@@ -115,6 +119,10 @@
 goto :EOF

+:: Convert the vbscript file.
+:: The environment variable %CMDIZE_ENGINE% allows to declare another
+:: engine (cscript or wscript).
+:: The default value is cscript.
 :cmdize.vbs.h
 set /p "=::'" <nul
 type "%TEMP%\%~n0.$$"
@@ -151,6 +159,7 @@
 goto :EOF

+:: Convert the perl file.
 :cmdize.pl
 echo:@rem = '--*-Perl-*--
 echo:@echo off
@@ -162,6 +171,7 @@
 goto :EOF

+:: Convert the powershell file.
 :cmdize.ps1
 echo:^<# :
 echo:@echo off
@@ -176,6 +186,8 @@
 goto :EOF

+:: Convert the html file.
+:: Supportable file extensions are .hta, .htm and .html.
 :cmdize.hta
 :cmdize.htm
 :cmdize.html
@@ -188,6 +200,10 @@
 goto :EOF

+:: Convert the wsf file.
+:: The environment variable %CMDIZE_ENGINE% allows to declare another
+:: engine (cscript or wscript).
+:: The default value is cscript.
 :cmdize.wsf
 if not defined CMDIZE_ENGINE set "CMDIZE_ENGINE=cscript"


add a setup file to prepare git, files, build

TODO: add setup.sh for unix systems

Signed-off-by: Akos Hamori <5218e2da3b36298aace4eb83e69def19aba4f293@sztaki.mta.hu>


internal changes to shellenv.bat (continue commit 3dc2ebf)

--- shellenv.bat
+++ shellenv.bat
@@ -7,12 +7,18 @@
 for /f "tokens=*" %%p in ( "%~dp0." ) do set "TEA_HOME=%%~fp"

 :: Java
-if exist "%~dp0javaenv.bat" call "%~dp0javaenv.bat"
+call :ifexist "%~dp0javaenv.bat"

 call :shellenv.config

 call :shellenv.conemu

+goto :EOF
+
+:: ========================================================================
+
+:ifexist
+if exist "%~1" call %*
 goto :EOF

 :: ========================================================================
@@ -122,18 +128,22 @@
 :: ========================================================================

 :shellenv.conemu
-
-:: reg query "HKCU\Console" /v VirtualTerminalLevel 2>nul | find "0x1" && echo:
-if defined ConEmuANSI if /i "%ConEmuANSI%" == "ON" echo:
+:: If possible, move the cursor to the bottom of the screen
+if /i "%ConEmuANSI%" == "ON" (
+	echo:
+) else (
+	reg query "HKCU\Console" /v VirtualTerminalLevel 2>nul | findstr "0x1" && echo:
+)

 :: Make ConEmu's environment variables available for child processes
-:: if defined ConEmuBaseDir if exist "%ConEmuBaseDir%\IsConEmu.cmd" (
-:: 	call "%ConEmuBaseDir%\IsConEmu.cmd" >nul && "%ConEmuBaseDir%\ConEmuC.exe" /export
+:: if defined ConEmuBaseDir (
+:: 	call :ifexist "%ConEmuBaseDir%\IsConEmu.cmd" >nul
+	if %ERRORLEVEL% == 0 call :ifexist "%ConEmuBaseDir%\ConEmuC.exe" /export
 :: )

 :: Colorize the command line prompt
-:: if defined ConEmuBaseDir if exist "%ConEmuBaseDir%\ColorPrompt.cmd" (
-:: 	call "%ConEmuBaseDir%\ColorPrompt.cmd"
+:: if defined ConEmuBaseDir (
+:: 	call :ifexist "%ConEmuBaseDir%\ColorPrompt.cmd"
 :: )
 goto :EOF


replace user-aliases with user_aliases

replace user-aliases with user_aliases

--- vendor/init.bat
+++ vendor/init.bat
@@ -245,24 +245,24 @@
 :: The aliases environment variable is used by alias.bat to id
 :: the default file to store new aliases in.
 if not defined aliases (
-  set "aliases=%user-aliases%"
+  set "aliases=%user_aliases%"
 )

 :: Make sure we have a self-extracting user-aliases.cmd file
 setlocal enabledelayedexpansion
-if not exist "%user-aliases%" (
-    echo Creating initial user-aliases store in "%user-aliases%"...
-    copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user-aliases%"
+if not exist "%user_aliases%" (
+    echo Creating initial user-aliases store in "%user_aliases%"...
+    copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user_aliases%"
 ) else (
-    type "%user-aliases%" | findstr /i ";= Add aliases below here" >nul
+    type "%user_aliases%" | findstr /i ";= Add aliases below here" >nul
     if "!errorlevel!" == "1" (
-        echo Creating initial user-aliases store in "%user-aliases%"...
+        echo Creating initial user-aliases store in "%user_aliases%"...
         if defined CMDER_USER_CONFIG (
-            copy "%user-aliases%" "%user-aliases%.old_format"
-            copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user-aliases%"
-        ) else (
-            copy "%user-aliases%" "%user-aliases%.old_format"
-            copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user-aliases%"
+            copy "%user_aliases%" "%user_aliases%.old_format"
+            copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user_aliases%"
+        ) else (
+            copy "%user_aliases%" "%user_aliases%.old_format"
+            copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user_aliases%"
         )
     )
 )
@@ -270,15 +270,15 @@
 :: Update old 'user-aliases' to new self executing 'user-aliases.cmd'
 if exist "%CMDER_ROOT%\config\aliases" (
   echo Updating old "%CMDER_ROOT%\config\aliases" to new format...
-  type "%CMDER_ROOT%\config\aliases" >> "%user-aliases%" && del "%CMDER_ROOT%\config\aliases"
-) else if exist "%user-aliases%.old_format" (
-  echo Updating old "%user-aliases%" to new format...
-  type "%user-aliases%.old_format" >> "%user-aliases%" && del "%user-aliases%.old_format"
+  type "%CMDER_ROOT%\config\aliases" >> "%user_aliases%" && del "%CMDER_ROOT%\config\aliases"
+) else if exist "%user_aliases%.old_format" (
+  echo Updating old "%user_aliases%" to new format...
+  type "%user_aliases%.old_format" >> "%user_aliases%" && del "%user_aliases%.old_format"
 )
 endlocal

 :: Add aliases to the environment
-call "%user-aliases%"
+call "%user_aliases%"

 :: See vendor\git-for-windows\README.portable for why we do this
 :: Basically we need to execute this post-install.bat because we are


commit on 06/06/2018 at 13:04:27

commit on 06/06/2018 at 13:04:27

--- ansys-APDL/transverseCrack.cmd
+++ ansys-APDL/transverseCrack.cmd
@@ -242,7 +242,7 @@

 ALLSEL

-LSEL,S,,,8                                ! Crack
+LSEL,S,LINE,,8                            ! Crack
 NSLL,S,1                                  !Select nodes associated to this line
 *GET,NNodes,NODE,0,COUNT                  !Get the number of nodes in the selected set
 *DIM, CrackDisps, ARRAY, NNodes, 11


source archive completed

source archive completed

git-svn-id: 98f681d7a2907ee2a41df434552134740bcc8829@78744 81fbe566-5dc4-48c1-bdea-7421811ca204

--- build_deployment.cmd
+++ build_deployment.cmd
@@ -11,7 +11,7 @@
 SET FILENAME_SOURCE=%DEPLOYMENT_DIR%\ZXing.Net.Source.%VERSION%.zip
 SET ZIP_TOOL=%CD%\3rdparty\zip\7za.exe
 SET SVN_EXPORT_DIR=%DEPLOYMENT_DIR%\Source
-SET SVN_URL=https://zxingnet.svn.codeplex.com/svn/trunk/Source/lib
+SET SVN_URL=https://zxingnet.svn.codeplex.com/svn/trunk
 SET SVN_TOOL=%CD%\3rdparty\Subversion\svn.exe

 ECHO.
@@ -19,11 +19,20 @@
 ECHO %DEPLOYMENT_DIR%...
 ECHO.

+REM
+REM preparing deployment directory
+REM ***************************************************************************************
+
 IF NOT EXIST "%BUILD_DIR%" GOTO BUILD_DIR_NOT_FOUND
 IF NOT EXIST "%BINARY_DIR%" GOTO BINARY_DIR_NOT_FOUND

 MKDIR "%DEPLOYMENT_DIR%" >NUL: 2>&1
 DEL /F "%DEPLOYMENT_DIR%\%FILENAME_BINARY%" >NUL: 2>&1
+
+
+REM
+REM building archives for binaries
+REM ***************************************************************************************

 CD "%BINARY_DIR%"
 "%ZIP_TOOL%" a -tzip -mx9 -r "%FILENAME_BINARY%" net2.0 net4.0 unity sl4 sl5 wp7.0 wp7.1
@@ -31,20 +40,41 @@
 CD "%CURRENT_DIR%"

 ECHO.
+
+
+REM
+REM building nuget archive
+REM ***************************************************************************************
+
 CALL nuget-pack.cmd

 ECHO.

+
+REM
+REM building source archive
+REM ***************************************************************************************
+
+RMDIR /S /Q "%SVN_EXPORT_DIR%" >NUL: 2>&1
+
 MKDIR "%SVN_EXPORT_DIR%" >NUL: 2>&1
-RMDIR /S /Q "%SVN_EXPORT_DIR%"
+MKDIR "%SVN_EXPORT_DIR%\Source" >NUL: 2>&1
+MKDIR "%SVN_EXPORT_DIR%\Source\lib" >NUL: 2>&1
+MKDIR "%SVN_EXPORT_DIR%\Source\test" >NUL: 2>&1
+MKDIR "%SVN_EXPORT_DIR%\Source\test\src" >NUL: 2>&1
+MKDIR "%SVN_EXPORT_DIR%\Clients" >NUL: 2>&1

-"%SVN_TOOL%" export "%SVN_URL%" "%SVN_EXPORT_DIR%"
+"%SVN_TOOL%" export --force "%SVN_URL%/Source/lib" "%SVN_EXPORT_DIR%\Source\lib"
+"%SVN_TOOL%" export --force "%SVN_URL%/Source/test/src" "%SVN_EXPORT_DIR%\Source\test\src"
+"%SVN_TOOL%" export --force "%SVN_URL%/Clients" "%SVN_EXPORT_DIR%\Clients"
+"%SVN_TOOL%" export --force "%SVN_URL%/zxing.sln" "%SVN_EXPORT_DIR%"

 CD "%SVN_EXPORT_DIR%"
-"%ZIP_TOOL%" a -tzip -mx9 -r "%FILENAME_SOURCE%" *.*
+"%ZIP_TOOL%" a -tzip -mx9 -r "%FILENAME_SOURCE%" Source\lib\*.* Source\test\src\*.* Clients\*.* zxing.sln
 CD "%CURRENT_DIR%"

-RMDIR /S /Q "%SVN_EXPORT_DIR%"
+RMDIR /S /Q "%SVN_EXPORT_DIR%" >NUL: 2>&1
+

 GOTO END


doom.bat : Fix spaces in file path

doom.bat : Fix spaces in file path

--- PortaDOOM/files/doom.bat
+++ PortaDOOM/files/doom.bat
@@ -653,11 +653,11 @@
 IF "%ENGINE_CFG%" == "gzdoom" (
 	IF %SW% EQU 1 (
 		REM # add the CCMD to switch to software-renderer
-		SET "PARAMS=%PARAMS% +vid_renderer 0"
+		SET PARAMS=%PARAMS% +vid_renderer 0
 	) ELSE (
 		REM # add the CCMD to switch to hardware-renderer
 		REM # (GZDoom will save the last mode used, so we must force it in every instance)
-		SET "PARAMS=%PARAMS% +vid_renderer 1"
+		SET PARAMS=%PARAMS% +vid_renderer 1
 	)
 )

@@ -1327,14 +1327,14 @@
 REM ====================================================================================================================
 REM # were any files added?
 IF %ANY_WAD% EQU 1 (
-        SET "PARAMS=%PARAMS% -file %FILES%"
+        SET PARAMS=%PARAMS% -file %FILES%
 )
 REM # DeHackEd extensions?
 IF %ANY_DEH% EQU 1 (
-        SET "PARAMS=%PARAMS% -deh %DEH%"
+        SET PARAMS=%PARAMS% -deh %DEH%
 )
 IF %ANY_BEX% EQU 1 (
-        SET "PARAMS=%PARAMS% -bex %BEX%"
+        SET PARAMS=%PARAMS% -bex %BEX%
 )

 REM # get the desktop screen resolution:
@@ -1368,7 +1368,7 @@
 ECHO:

 REM # if you need to see what the final command will be:
-REM ECHO  "doom.bat" /D "%SAVES_WAD%" %FIX_PATH%\%ENGINE% %SCREENRES% %FULLSCREEN% %PARAMS% & PAUSE
+ECHO  "doom.bat" /D "%SAVES_WAD%" %FIX_PATH%\%ENGINE% %SCREENRES% %FULLSCREEN% %PARAMS% & PAUSE

 REM # outputting to console?
 REM # (only has an effect on Z-based engines)


INTEGRATION: CWS sdk01 (1.7.14.1.6); FILE MERGED 2003/03/12 09:55:28 jsc 1.7.14.1.6.1: #107901# insert title

--- odk/setsdkenv_windows.bat
+++ odk/setsdkenv_windows.bat
@@ -3,22 +3,20 @@
 REM This script sets all enviroment variables, which
 REM are necessary for building the examples of the Office Development Kit.
 REM The Script was developed for the operating systems Windows.
-REM Before the script could be executed the following variables have to be
-REM adjusted:

 REM Installation directory of the Software Development Kit.
-REM Example: set OO_SDK_HOME=D:\api\odk
+REM Example: set OO_SDK_HOME=D:\StarOffice6.1SDK
 set OO_SDK_HOME=

 REM Office installation directory.
-REM Example: set OFFICE_HOME=C:\Programme\StarOffice6.0
+REM Example: set OFFICE_HOME=C:\Programme\StarOffice6.1
 set OFFICE_HOME=

 REM Directory of the make command.
-REM Example: set OO_SDK_MAKE=D:\NextGenerationMake\make
-set OO_SDK_MAKE=
+REM Example: set OO_SDK_MAKE_HOME=D:\NextGenerationMake
+set OO_SDK_MAKE_HOME=

-REM Directory of the C++ compiler.
+REM Directory of the C++ tools.
 REM Example:set OO_SDK_CPP_HOME=C:\Programme\Microsoft Visual Studio\VC98\bin
 set OO_SDK_CPP_HOME=

@@ -26,27 +24,45 @@
 REM Example: set OO_STLPORT_HOME=D:\stlport-4.5.3
 set OO_STLPORT_HOME=

-REM Java SDK installation directory.
-REM Example: set OO_SDK_JAVA_HOME=C:\jdk1.4.0
+REM Java installation directory.
+REM Example: set OO_SDK_JAVA_HOME=c:\j2sdk1.4.1_01
 set OO_SDK_JAVA_HOME=
-
-REM Environment variable to enable auto deployment of example components
-REM Example: set SDK_AUTO_DEPLOYMENT=YES
-set SDK_AUTO_DEPLOYMENT=YES

 REM ANT installation directory.
 REM Example: set OO_SDK_ANT_HOME=D:\jakarta-ant-1.4
 REM set OO_SDK_ANT_HOME=

+REM Automatic deployment
+REM Example: set SDK_AUTO_DEPLOYMENT=YES
+set SDK_AUTO_DEPLOYMENT=YES
+

 REM Check installation path for the StarOffice Development Kit.
-if not defined OO_SDK_HOME goto error
+if not defined OO_SDK_HOME (
+  echo Error: the variable OO_SDK_HOME is missing!
+  goto :error
+)

 REM Check installation path for the office.
-if not defined OFFICE_HOME goto error
+if not defined OFFICE_HOME (
+  echo Error: the variable OFFICE_HOME is missing!
+  goto :error
+)
+
+REM Check installation path for GNU make.
+if not defined OO_SDK_MAKE_HOME (
+  echo Error: the variable OO_SDK_MAKE_HOME is missing!
+  goto :error
+)
+
+REM Check installation path for Java.
+if not defined OO_SDK_JAVA_HOME (
+  echo Error: the variable OO_SDK_JAVA_HOME is missing!
+  goto :error
+)

 REM Set library path.
-set LIB=%OO_SDK_HOME%\windows\lib;%OO_SDK_HOME%\WINexample.out\lib;%LIB
+set LIB=%OO_SDK_HOME%\windows\lib;%OO_SDK_HOME%\WINexample.out\lib;%LIB%

 REM Add directory of the STLPORT library to the library path.
 if defined OO_STLPORT_HOME set LIB=%OO_STLPORT_HOME%\lib;%LIB%
@@ -55,10 +71,10 @@
 set OFFICE_PROGRAM_PATH=%OFFICE_HOME%\program

 REM Add directory of the SDK tools to the path.
-set PATH=%OO_SDK_HOME%\windows\bin;%OFFICE_PROGRAM_PATH%;%OO_SDK_HOME%\WINexample.out\bin;%PATH%
+set PATH=%OO_SDK_HOME%\windows\bin;%OFFICE_HOME%\program;%OO_SDK_HOME%\WINexample.out\bin;%PATH%

 REM Add directory of the command make to the path, if necessary.
-if defined OO_SDK_MAKE set PATH=%OO_SDK_MAKE%;%PATH%
+if defined OO_SDK_MAKE_HOME set PATH=%OO_SDK_MAKE_HOME%;%PATH%

 REM Add directory of the C++ tools to the path, if necessary.
 if defined OO_SDK_CPP_HOME set PATH=%OO_SDK_CPP_HOME%;%PATH%
@@ -73,11 +89,14 @@
 if defined OO_SDK_ANT_HOME set PATH=%OO_SDK_ANT_HOME%\bin;%PATH%

 REM Set environment for C++ tools, if necessary.
-if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%"\VCVARS32.bat
+if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%\VCVARS32.bat"
+
+REM Set tilte to identify the prepared shell.
+title Shell prepared for SDK

 goto end

 :error
-echo Error: Please insert the necessary environment variables into the batch file.
+Error: Please insert the necessary environment variables into the batch file.

 :end


Check `errorlevel` in `bld.bat`

Check `errorlevel` in `bld.bat`

--- recipes/pycuda/bld.bat
+++ recipes/pycuda/bld.bat
@@ -1,3 +1,5 @@
 configure.py --enable-shared
+if errorlevel 1 exit 1

 %PYTHON% -m pip install . -vv
+if errorlevel 1 exit 1


fix ldflags worker version windows

fix ldflags worker version windows

Signed-off-by: Maria Shaldibina <dc03896a0185453e5852a5e0f0fab6cbd2e026ff@pivotal.io>

--- ci/build-windows.bat
+++ ci/build-windows.bat
@@ -15,4 +15,4 @@

 .\go-bindata.exe -pkg bindata -o concourse\src\github.com\concourse\bin\bindata\bindata.go cli-artifacts/...

-go build -ldflags "-X main.Version=%FinalVersion% -X github.com/concourse/atc/atccmd.Version=%FinalVersion% -X github.com/concourse/atc/atccmd.WorkerVersion=%WorkerVersion% -X main.WorkerVersion=%WORKER_VERSION%" -o .\binary\concourse_windows_amd64.exe github.com/concourse/bin/cmd/concourse
+go build -ldflags "-X main.Version=%FinalVersion% -X github.com/concourse/atc/atccmd.Version=%FinalVersion% -X github.com/concourse/atc/atccmd.WorkerVersion=%WorkerVersion% -X main.WorkerVersion=%WorkerVersion%" -o .\binary\concourse_windows_amd64.exe github.com/concourse/bin/cmd/concourse


changed the requirements for the compiler to vc 11 - this way we can build the server until vc12 is able to build the dependencies

--- build_deps.bat
+++ build_deps.bat
@@ -36,7 +36,7 @@
 set "PROJECT_DRIVE=%~d0"
 set "BUILD_DIR=%PROJECT_BASE%build\deps\"
 set "VENDOR_DIR=%PROJECT_BASE%vendor\"
-set MSVC_VERSION=12
+set MSVC_VERSION=11
 set BOOST_VERSION=1.54.0
 set BOOST_LOG_REVISION=737
 set TURTLE_VERSION=1.2.0
@@ -130,6 +130,8 @@
     echo ***** Git required and not found in system PATH *****
     exit /b 1
 )
+echo"!VS%MSVC_VERSION%0COMNTOOLS!"
+echo !VS%MSVC_VERSION%0COMNTOOLS!

 if not exist "!VS%MSVC_VERSION%0COMNTOOLS!" (
     echo ***** Microsoft Visual Studio %MSVC_VERSION% required *****


Added documentation build script

Added documentation build script

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

--- build_docs.cmd
+++ build_docs.cmd
@@ -0,0 +1,5 @@
+call git submodule update --init --recursive Docs
+call git submodule foreach git pull origin master
+xcopy Docs\content Docs\docs-common\content /s /e /Y
+cd Docs\docs-common
+call hugo server


Remove PyDir env var

Remove PyDir env var

--- pkg/windows/clean_env.bat
+++ pkg/windows/clean_env.bat
@@ -8,13 +8,20 @@
 echo Administrative permissions required. Detecting permissions ...
 echo ---------------------------------------------------------------------
 net session >nul 2>&1
-if %errorLevel%==0 (
+if errorlevel 1 (
     echo Success: Administrative permissions confirmed.
 ) else (
     echo Failure: This script must be run as Administrator
     goto eof
 )
 echo.
+
+:: Remove environment variables
+    echo %0 :: Removing Environment Variables ...
+    echo ---------------------------------------------------------------------
+    if defined PyDir (
+        reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /F /V "PyDir"
+    )

 :CheckPython27
 if exist "\Python27" goto RemovePython27


Fix message in install script

Fix message in install script

--- tgui/install_dependencies.bat
+++ tgui/install_dependencies.bat
@@ -1,5 +1,5 @@
 @echo off
-echo node.js > 5.3.0 must be installed for this script to work.
+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


Update stage_3_disinfect.bat

Update stage_3_disinfect.bat

--- resources/stage_3_disinfect/stage_3_disinfect.bat
+++ resources/stage_3_disinfect/stage_3_disinfect.bat
@@ -93,11 +93,11 @@
 	call functions\log.bat "%CUR_DATE% %TIME% ! SKIP_KASPERSKY_SCAN (-sk) set. Skipping KVRT scan."
 ) else (
 	call functions\log.bat "%CUR_DATE% %TIME%    Launch job 'Kaspersky Virus Removal Tool'..."
-	call functions\log.bat "%CUR_DATE% %TIME%    Tool-specific log saved to "%RAW_LOGS%\Reports""
+	call functions\log.bat "%CUR_DATE% %TIME%    Tool-specific log will be saved to "%RAW_LOGS%\Reports""
 	if /i %DRY_RUN%==no (
 		start /wait stage_3_disinfect\kaspersky_virus_removal_tool\KVRT.exe -d "%RAW_LOGS%" -accepteula -adinsilent -silent -processlevel 2 -dontcryptsupportinfo
 		if exist "%RAW_LOGS%\Legal notices" rmdir /s /q "%RAW_LOGS%\Legal notices" >> "%LOGPATH%\%LOGFILE%" 2>&1
-		)
+	)
 	call functions\log.bat "%CUR_DATE% %TIME%    Done."
 )

@@ -116,7 +116,7 @@
 		if /i %VERBOSE%==yes stage_3_disinfect\sophos_virus_remover\svrtcli.exe -yes -debug
 		type "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" >> "%LOGPATH%\%LOGFILE%"
 		if exist "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" del /f /q "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" >nul 2>&1
-		)
+	)
 	call functions\log.bat "%CUR_DATE% %TIME%    Done."
 )


Turn off Windows DEBUG builds for continuous builds (#2682)

--- build/windows/build-github.bat
+++ build/windows/build-github.bat
@@ -22,7 +22,8 @@
 )

 if "%TARGET%" == "continuous" (
-    set BUILD_DEBUG=1
+    :: turn off DEBUG builds for now to save space
+    set BUILD_DEBUG=0
     set BUILD_RELEASE=1
     set INSTALL=--target install
     set CREATE_ARCHIVE=1


Remove signing from deploy script

Remove signing from deploy script

--- Deploy/package.cmd
+++ Deploy/package.cmd
@@ -37,11 +37,11 @@
 COPY /Y ..\Altairis.AutoAcme.IisSync\bin\Debug\aasync.exe Distribution
 COPY /Y ..\Altairis.AutoAcme.IisSync\bin\Debug\aasync.exe.config Distribution

-ECHO Digitally signing EXE files...
-%SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\autoacme.exe"
-%SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\aasync.exe"
-%SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\lib\Altairis.AutoAcme.Core.dll"
-%SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\lib\Altairis.AutoAcme.Configuration.dll"
+REM ECHO Digitally signing EXE files...
+REM %SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\autoacme.exe"
+REM %SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\aasync.exe"
+REM %SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\lib\Altairis.AutoAcme.Core.dll"
+REM %SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "Distribution\lib\Altairis.AutoAcme.Configuration.dll"

 ECHO Making ZIP file...
 CD Distribution
@@ -49,5 +49,5 @@
 %SEVENZ% a -sfx"..\AutoACME.sfx" ..\AutoACME-setup.exe *
 CD ..

-ECHO Digitally signing SFX archive...
-%SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "AutoACME-setup.exe"+REM ECHO Digitally signing SFX archive...
+REM %SIGNTOOL% sign /n "Altairis, s. r. o." /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 "AutoACME-setup.exe"


Append exit 0 for AppVeyor copy script

Append exit 0 for AppVeyor copy script

--- copy-files.cmd
+++ copy-files.cmd
@@ -1,2 +1,3 @@
 robocopy . ..\..\..\..\..\installer\windows\x64\packages\com.kryvosproject.kryvos\data\ /E
 robocopy . Kryvos\ /E
+exit 0


Simple command to generate all view in several possible combinations, useful for generating all the views at once and examining the content.

error: pathspec 'samples/TestWebApp/CreateViews.cmd' did not match any file(s) known to git

--- samples/TestWebApp/CreateViews.cmd
+++ samples/TestWebApp/CreateViews.cmd
@@ -0,0 +1,8 @@
+for %%1 in (Create Edit Delete List Details) do (
+    k gen view %%1_DefaultLayout %%1 -m Person -dc PersonContext -udl -scripts -f
+    k gen view %%1_DefaultLayoutPartial %%1 -m Person -dc PersonContext -udl -partial -scripts -f
+    k gen view %%1_CustomLayout %%1 -m Person -dc PersonContext -l "MyLayout.cshtml" -scripts -f
+    k gen view %%1_CustomLayoutPartial %%1 -m Person -dc PersonContext -l "MyLayout.cshtml" -partial -scripts -f
+    k gen view %%1_NoLayout %%1 -m Person -dc PersonContext -scripts -f
+    k gen view %%1_NoLayoutPartial %%1 -m Person -dc PersonContext -partial -scripts -f
+)


Update IIS Server setup scripts to unlock authentication methods

* Authentication methods sections need to be unlocked from the root
for individual website to overrid them.

Fixes #1511

--- src/System.Private.ServiceModel/tools/scripts/SetupWcfIISHostedService.cmd
+++ src/System.Private.ServiceModel/tools/scripts/SetupWcfIISHostedService.cmd
@@ -187,9 +187,21 @@

 :SkipCertInstall

-:: Unlock the configuration of sslFlags
-echo Unlock the IIS config section to allow sslFlags to be overriden
+:: Unlock the configuration of sslFlags and Authentication
+echo Unlock the IIS config section to allow sslFlags and Authentication methods to be overriden
 call :Run %_appcmd% unlock config /section:"system.webServer/security/access"
+if ERRORLEVEL 1 goto :Failure
+
+call :Run %_appcmd% unlock config /section:"system.webServer/security/authentication/anonymousAuthentication"
+if ERRORLEVEL 1 goto :Failure
+
+call :Run %_appcmd% unlock config /section:"system.webServer/security/authentication/basicAuthentication"
+if ERRORLEVEL 1 goto :Failure
+
+call :Run %_appcmd% unlock config /section:"system.webServer/security/authentication/digestAuthentication"
+if ERRORLEVEL 1 goto :Failure
+
+call :Run %_appcmd% unlock config /section:"system.webServer/security/authentication/windowsAuthentication"
 if ERRORLEVEL 1 goto :Failure

 :: Clean up log file if everything worked perfectly


Fix path in pack.cmd

Fix path in pack.cmd

--- pkg/pack.cmd
+++ pkg/pack.cmd
@@ -55,7 +55,7 @@

 :: Restore dependencies mainly to obtain runtime.json
 pushd "%__ProjectDir%\deps"
-"%__ProjectDir%\Tools\dotnetcli\bin\dotnet.exe" restore --source "https://dotnet.myget.org/F/dotnet-core" --packages "%__ProjectDir%\packages"
+"%__ProjectDir%\Tools\dotnetcli\dotnet.exe" restore --source "https://dotnet.myget.org/F/dotnet-core" --packages "%__ProjectDir%\packages"
 popd

 :: Clean up existing nupkgs


Add open here for gitk and git-gui

Add open here for gitk and git-gui

--- install-open_here.bat
+++ install-open_here.bat
@@ -32,6 +32,14 @@
     reg add %registryRoot%\git_cmd /t REG_SZ /d "Git CMD" /f
     reg add %registryRoot%\git_cmd /v Icon /t REG_EXPAND_SZ /d "%%PROGRAMFILES%%\Git\mingw64\share\git\git-for-windows.ico" /f
     reg add %registryRoot%\git_cmd\command /t REG_EXPAND_SZ /d "\"%%PROGRAMFILES%%\Git\git-cmd.exe\"" /f
+
+    reg add %registryRoot%\gitk /t REG_SZ /d "gitk" /f
+    reg add %registryRoot%\gitk /v Icon /t REG_EXPAND_SZ /d "%%PROGRAMFILES%%\Git\mingw64\share\git\git-for-windows.ico" /f
+    reg add %registryRoot%\gitk\command /t REG_EXPAND_SZ /d "\"%%PROGRAMFILES%%\Git\cmd\gitk.exe\"" /f
+
+    reg add %registryRoot%\git_gui /t REG_SZ /d "git-gui" /f
+    reg add %registryRoot%\git_gui /v Icon /t REG_EXPAND_SZ /d "%%PROGRAMFILES%%\Git\mingw64\share\git\git-for-windows.ico" /f
+    reg add %registryRoot%\git_gui\command /t REG_EXPAND_SZ /d "\"%%PROGRAMFILES%%\Git\cmd\git-gui.exe\"" /f
 )
 if exist ""%CYGWIN_HOME%"" (
     reg add %registryRoot%\cygwin_mintty /t REG_SZ /d "Cygwin Mintty" /f


chore: use latest npm on Windows (#160)

chore: use latest npm on Windows (#160)

--- .kokoro/test.bat
+++ .kokoro/test.bat
@@ -1,4 +1,4 @@
-@rem Copyright 2018 gRPC authors.
+@rem Copyright 2018 Google LLC. All rights reserved.
 @rem
 @rem Licensed under the Apache License, Version 2.0 (the "License");
 @rem you may not use this file except in compliance with the License.
@@ -17,8 +17,7 @@
 cd /d %~dp0
 cd ..

-call npm install -g npm@5 || goto :error
-
+call npm install -g npm@latest || goto :error
 call npm install || goto :error
 call npm run test || goto :error


Removed unnecessary file.

Removed unnecessary file.

--- external/mswin/for_binaries/setup.bat
+++ external/mswin/for_binaries/setup.bat
@@ -1,10 +0,0 @@
-@echo off
-
-REM Called by installation program after it's done copying files.
-
-
-cd ..
-set instdir=%CD%
-python_topo\python.exe setup\setup.py "%instdir%"
-
-rmdir /Q /S setup\


Added batch file that executes integration test

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


Created release 2015-04-14.

Created release 2015-04-14.

--- create-release.bat
+++ create-release.bat
@@ -57,6 +57,7 @@
 	goto COMPLETED
 )

+echo.
 git status

 :COMPLETED


updated chocolatey install dir

updated chocolatey install dir

--- scripts/chocolatey.bat
+++ scripts/chocolatey.bat
@@ -1,5 +1,5 @@
 powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" <NUL

-<nul set /p ".=;C:\Chocolatey\bin" >> C:\Windows\Temp\PATH
+<nul set /p ".=;%ALLUSERSPROFILE%\chocolatey\bin" >> C:\Windows\Temp\PATH
 set /p PATH=<C:\Windows\Temp\PATH
-setx PATH "%PATH%" /m+setx PATH "%PATH%" /m


wel.. published

wel.. published

--- NugetPublish.bat
+++ NugetPublish.bat
@@ -1,6 +1,6 @@

 set sourcePath=publish
-set version=0.0.12-rc1
+set version=0.0.12-rc2

 nuget push %sourcePath%\Dccelerator.Core.%version%.nupkg -ApiKey %1 -Source https://www.nuget.org/api/v2/package


 removed census specific cli params in jre/jruby bat

git-svn-id: 36b044a1d4e5f74e123a9788437846fc1f2f0dec@629 fd6d9157-2c40-0410-9642-e7077f30ef04

--- app/main/discovery_jre_windows.bat
+++ app/main/discovery_jre_windows.bat
@@ -40,6 +40,6 @@
 if exist lib\plugins\inventory\help.txt type lib\plugins\inventory\help.txt
 goto END
 :RUN
-"%OSSDISCOVERY_HOME%\jruby\bin\jruby.bat" -J-Xmx512m -J-Xms512m -J-client "%OSSDISCOVERY_HOME%\lib\discovery.rb" --progress 100 --census-results scanresults-local.txt --verbose %*
+"%OSSDISCOVERY_HOME%\jruby\bin\jruby.bat" -J-Xmx512m -J-Xms512m -J-client "%OSSDISCOVERY_HOME%\lib\discovery.rb" --progress 100 --verbose %*

 :END


Use pushd and popd; also use call

Use pushd and popd; also use call

And while were at it, Adding readme.md (dece0a5) also fixes vapoursynth/#451

--- docs_build.bat
+++ docs_build.bat
@@ -1,3 +1,4 @@
-cd doc
-make html
-pause+pushd doc
+call make html
+pause
+popd


[Scripts] Fix COD:AW script.

[Scripts] Fix COD:AW script.

--- scripts/x64/codaw.bat
+++ scripts/x64/codaw.bat
@@ -1 +1 @@
-inject.exe --run "E:\Games\Call of Duty Advanced Warfare\s1_sp64_ship.exe" --inject --export Load --add-path --path-resolution --module cerberus.dll+inject.exe --run "C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Advanced Warfare\s1_mp64_ship.exe" --inject --steam-app-id 209660 --export Load --add-path --path-resolution --module cerberus.dll


Added build script for stage2

Added build script for stage2

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

--- Stage2/Build.bat
+++ Stage2/Build.bat
@@ -0,0 +1 @@
+../nasm -f bin Stage2.asm -o KRNLDR.sys


No longer specify explicitly the path to make/gcc/g++ to cmake, when testing in AppVeyor with MinGW.

This is just to see what happens, I might need to roll back this commit if it doesn't work.

--- extras/scripts/postsubmit.bat
+++ extras/scripts/postsubmit.bat
@@ -21,8 +21,6 @@
 mkdir C:\Fruit\build-%CONFIGURATION%
 cd C:\Fruit\build-%CONFIGURATION%

-IF "%CMAKE_GENERATOR%"=="MinGW Makefiles" SET CMAKE_EXTRA_ARGS="-DCMAKE_MAKE_PROGRAM=%MINGW_PATH%/mingw32-make.exe" "-DCMAKE_C_COMPILER=%MINGW_PATH%\gcc.exe" "-DCMAKE_CXX_COMPILER=%MINGW_PATH%\g++.exe"
-
 cmake.exe -G "%CMAKE_GENERATOR%" .. -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DBOOST_DIR="%BOOST_DIR%" -DBUILD_TESTS_IN_RELEASE_MODE=True %CMAKE_EXTRA_ARGS% || exit /b 1

 IF "%CMAKE_GENERATOR%"=="MinGW Makefiles" (


Update EOL for Windows build script

Update EOL for Windows build script

--- _build/build.cmd
+++ _build/build.cmd
@@ -1,81 +1,81 @@
-::===============kodmunki™ build process==============
-:: This build process is dependent upon yuicompressor
-::  and a specific directory structure:
-::
-::  root
-::    _build (This build script and the yuicompressor)
-::    bin (The compiled scripts will appear here)
-::    src (All script files go here)
-::
-::  The following variables found in setup () are
-::  expected to be changed by the developer running
-::  this process:
-::
-::  LIBRARY (The library to build for or {} for none)
-::  PROJNAME (The name of your project)
-::  STARTMSG (A message to echo at start of build)
-::  ENDMSG (A message to echo at end of build)
-::====================================================
-
-@echo off
-CALL :setup
-CALL :openlink
-CALL :link
-CALL :closelink
-CALL :compile
-CALL :teardown
-GOTO :eof
-
-:setup
-SET LIBRARY=jQuery
-SET PROJNAME=ku4jQuery-data
-SET STARTMSG=Building %PROJNAME%
-SET ENDMSG=%PROJNAME% Complete :{)}
-
-SET BIN=..\bin
-SET SRC=..\src
-SET COMPRESSOR=yuicompressor-2.4.6\build\yuicompressor-2.4.6.jar
-SET LNKGFILE=%BIN%\%PROJNAME%-link.js
-SET COMPFILE=%BIN%\%PROJNAME%-comp.js
-SET JSFILE=%BIN%\%PROJNAME%-uncompressed.js
-SET MINFILE=%BIN%\%PROJNAME%.js
-
-@echo %STARTMSG%
-GOTO :eof
-
-:openlink
-echo (function(l){ $=l;>> %LNKGFILE%
-GOTO :eof
-
-:link
-@echo Linking
-FOR /R %SRC% %%D IN (*.js) DO CALL :linkfile %%D
-GOTO :eof
-
-:closelink
-echo })(%LIBRARY%);>> %LNKGFILE%
-GOTO :eof
-
-:linkfile
-type %1 >> %LNKGFILE%
-echo. >> %LNKGFILE%
-GOTO :eof
-
-:compile
-@echo Compiling
-
-echo.> %COMPFILE%
-java -jar %COMPRESSOR% %LNKGFILE% -o %COMPFILE%
-
-IF EXIST %MINFILE% del %MINFILE%
-type %COMPFILE%>> %MINFILE%
-
-IF EXIST %JSFILE% del %JSFILE%
-type %LNKGFILE%>> %JSFILE%
-GOTO :eof
-
-:teardown
-del %LNKGFILE%
-del %COMPFILE%
-@echo %ENDMSG%
+::===============kodmunki™ build process==============
+:: This build process is dependent upon yuicompressor
+::  and a specific directory structure:
+::
+::  root
+::    _build (This build script and the yuicompressor)
+::    bin (The compiled scripts will appear here)
+::    src (All script files go here)
+::
+::  The following variables found in setup () are
+::  expected to be changed by the developer running
+::  this process:
+::
+::  LIBRARY (The library to build for or {} for none)
+::  PROJNAME (The name of your project)
+::  STARTMSG (A message to echo at start of build)
+::  ENDMSG (A message to echo at end of build)
+::====================================================
+
+@echo off
+CALL :setup
+CALL :openlink
+CALL :link
+CALL :closelink
+CALL :compile
+CALL :teardown
+GOTO :eof
+
+:setup
+SET LIBRARY=jQuery
+SET PROJNAME=ku4jQuery-data
+SET STARTMSG=Building %PROJNAME%
+SET ENDMSG=%PROJNAME% Complete :{)}
+
+SET BIN=..\bin
+SET SRC=..\src
+SET COMPRESSOR=yuicompressor-2.4.6\build\yuicompressor-2.4.6.jar
+SET LNKGFILE=%BIN%\%PROJNAME%-link.js
+SET COMPFILE=%BIN%\%PROJNAME%-comp.js
+SET JSFILE=%BIN%\%PROJNAME%-uncompressed.js
+SET MINFILE=%BIN%\%PROJNAME%.js
+
+@echo %STARTMSG%
+GOTO :eof
+
+:openlink
+echo (function(l){ $=l;>> %LNKGFILE%
+GOTO :eof
+
+:link
+@echo Linking
+FOR /R %SRC% %%D IN (*.js) DO CALL :linkfile %%D
+GOTO :eof
+
+:closelink
+echo })(%LIBRARY%);>> %LNKGFILE%
+GOTO :eof
+
+:linkfile
+type %1 >> %LNKGFILE%
+echo. >> %LNKGFILE%
+GOTO :eof
+
+:compile
+@echo Compiling
+
+echo.> %COMPFILE%
+java -jar %COMPRESSOR% %LNKGFILE% -o %COMPFILE%
+
+IF EXIST %MINFILE% del %MINFILE%
+type %COMPFILE%>> %MINFILE%
+
+IF EXIST %JSFILE% del %JSFILE%
+type %LNKGFILE%>> %JSFILE%
+GOTO :eof
+
+:teardown
+del %LNKGFILE%
+del %COMPFILE%
+@echo %ENDMSG%
 GOTO :eof


Initial implementation of bolt-test.subr.bat

error: pathspec 'src/bolt-test.subr.bat' did not match any file(s) known to git

--- src/bolt-test.subr.bat
+++ src/bolt-test.subr.bat
@@ -0,0 +1,88 @@
+@echo off
+
+goto entry
+
+:usage
+  echo usage: bolt test [-v^|--verbose] CONFIG TEST ...
+  echo.
+  echo arguments:
+  echo   CONFIG                   The bolt configuration file to be used for tests
+  echo   TEST                     A test file. The test file may contain one or more
+  echo                            test methods. Test files have an `assert` library
+  echo                            exposed to them automatically.
+  echo.
+  echo example:
+  echo   Run all atomic tests.
+  echo.
+  echo     bolt test config/bolt/atomic.js src/test/js/atomic/**/*.js
+  echo.
+  echo.
+  echo   Run all browser tests.
+  echo.
+  echo     bolt test config/bolt/browser.js src/test/js/browser/**/*.js
+
+  exit /b 0
+
+:fail_usage
+  echo.
+  call :usage
+  exit /b 1
+
+:fail
+  exit /b 1
+
+:is_dir
+  setlocal
+  set olddir=%CD%
+  cd "%~1" 2>NUL
+  set err=%errorlevel%
+  cd "%olddir%"
+  exit /b %err%
+
+
+:entry
+
+if "%help_mode%"=="true" call :usage && exit /b 0
+
+set verbose=false
+
+if "%~1"=="-v" (set verbose=true
+  shift && goto done_flags)
+if "%~1"=="--verbose" (set verbose=true
+  shift && goto done_flags)
+
+if "%~1"=="" goto done_flags
+
+set flag=%~1
+if "%flag:~0,1%"=="-" echo Unknown flag [%flag%] && goto fail_usage
+
+:done_flags
+
+if "%~2"=="" echo Not enough arguments, must specify configuration and at least one test file. && goto fail_usage
+
+set config=%~1
+shift
+
+if not exist "%config%" echo Could not find config file [%config%] && exit /b 10
+call :is_dir "%config%"
+if %errorlevel%==0 echo Could not find config file [%config%] && exit /b 10
+
+for %%i in (node.exe) do set node=%%~$PATH:i
+if "%node%"=="" echo error: node.js is not on the system path && goto fail
+
+set remaining=
+:remaining
+if "%~1"=="" goto end_remaining
+set remaining=%remaining% "%~1"
+shift
+goto remaining
+:end_remaining
+
+setlocal enabledelayedexpansion
+for %%i in (%remaining%) do (
+  if not exist %%i echo Could not find test file [%%i] && exit /b 20
+  call :is_dir %%i
+  if !errorlevel!==0 echo Could not find test file [%%i] && exit /b 20)
+endlocal
+
+echo "%node%" "%base%bolt-test.js" "%verbose%" "%config%" %remaining%


Update install_libraries_aux.bat

Update install_libraries_aux.bat

--- Windows/aux_bin/install_libraries_aux.bat
+++ Windows/aux_bin/install_libraries_aux.bat
@@ -1,6 +1,6 @@
 @echo off

-pip install pip --upgrade
+python -m pip install pip --upgrade
 cmd /c conda install git
 cmd /c conda install -c conda-forge xraylib=3.3.0
 pip install oasys1 --upgrade


appveyor: another attempt to get the build to run with right binding path

--- scripts/build_against_sdk_00-START-HERE.bat
+++ scripts/build_against_sdk_00-START-HERE.bat
@@ -23,7 +23,7 @@

 SET MAPNIK_LIB_DIR=%MAPNIK_DIR%\lib
 SET MAPNIK_PLUGIN_DIR=%MAPNIK_LIB_DIR%\mapnik\input
-node-pre-gyp reveal module_path > binding_path.txt
+call node-pre-gyp reveal module_path --silent > binding_path.txt
 SET /p N_MAPNIK_BINDING_DIR=<binding_path.txt
 del binding_path.txt
 SET N_MAPNIK_LIB_MAPNIK=%N_MAPNIK_BINDING_DIR%\mapnik


Replace publish step with publish to Distelli repo


added quotes around args that could have spaces in them

--- src/installer/curn.bat
+++ src/installer/curn.bat
@@ -58,7 +58,7 @@

 "$JAVA_HOME\bin\java" ^
 %JAVA_VM_ARGS% ^
--classpath $INSTALL_PATH\lib\curnboot.jar ^
+-classpath "$INSTALL_PATH\lib\curnboot.jar" ^
 -ea ^
 -client ^
 org.clapper.curn.Bootstrap ^
@@ -69,7 +69,7 @@
 @user.home\curn\lib ^
 @user.home\.curn\lib ^
 -- ^
-org.clapper.curn.Tool %1 %2 %3 %4 %5 %6 %7 %8 %9
+org.clapper.curn.Tool "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"

 :end


Symbol package not needed

Symbol package not needed


Fix gh-pages deploy script

Fix gh-pages deploy script

--- deploy-ghpages.cmd
+++ deploy-ghpages.cmd
@@ -2,14 +2,13 @@

 md out
 cd out
-md dist
+
+git clone "https://github.com/tsv2013/algorithm.git" .
+git pull "https://github.com/tsv2013/algorithm.git" gh-pages
+git checkout gh-pages
+
 copy ..\dist\*.* .\dist\*.*

-
-git init
-git config user.name "tsv2013"
-rem git config user.email "noreply@home.org"
-
-git add .\dist\*.*
+git add .
 git commit -m "Deployed to Github Pages"
-git push --force "https://github.com/tsv2013/algorithm.git" master:gh-pages
+git push "https://github.com/tsv2013/algorithm.git" master:gh-pages


Batch: Added WPU, MPU query in batch file

--- SQL-Script-2.0.0/install-with-sample.bat
+++ SQL-Script-2.0.0/install-with-sample.bat
@@ -11,7 +11,9 @@
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBatchFPU.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBatchHAU.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBarchMAU.sql
+SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBarchMPU.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBarchWAU.sql
+SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/sspBarchWPU.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/uspAddMemberItemPurchase.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/uspAddUseMemberItem.sql
 SQLCMD -S %1 -U %2 -P %3 -d %4 -i ./script/uspComInsMemberItemPurchase.sql


Auto select OBJDUMP and OBJCOPY.

Auto select OBJDUMP and OBJCOPY.

--- app/gen_misc.bat
+++ app/gen_misc.bat
@@ -7,23 +7,25 @@

 cd .output\eagle\debug\image

-if %XTENSA_CORE%==lx106 (
-	xt-objdump -x -s eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.dump
-	xt-objdump -S eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.S
+@echo off
+set OBJDUMP=xt-objdump
+set OBJCOPY=xt-objcopy
+if defined XTENSA_CORE (
+	set OBJDUMP=xt-objdump
+	set OBJCOPY=xt-objcopy
+) else (
+	set OBJDUMP=xtensa-lx106-elf-objdump
+	set OBJCOPY=xtensa-lx106-elf-objcopy
+)
+@echo on

-	xt-objcopy --only-section .text -O binary eagle.app.v6.out eagle.app.v6.text.bin
-	xt-objcopy --only-section .data -O binary eagle.app.v6.out eagle.app.v6.data.bin
-	xt-objcopy --only-section .rodata -O binary eagle.app.v6.out eagle.app.v6.rodata.bin
-	xt-objcopy --only-section .irom0.text -O binary eagle.app.v6.out eagle.app.v6.irom0text.bin
-) else (
-	xtensa-lx106-elf-objdump -x -s eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.dump
-	xtensa-lx106-elf-objdump -S eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.S
+%OBJDUMP% -x -s eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.dump
+%OBJDUMP% -S eagle.app.v6.out > ..\..\..\..\..\bin\eagle.app.v6.S

-	xtensa-lx106-elf-objcopy --only-section .text -O binary eagle.app.v6.out eagle.app.v6.text.bin
-	xtensa-lx106-elf-objcopy --only-section .data -O binary eagle.app.v6.out eagle.app.v6.data.bin
-	xtensa-lx106-elf-objcopy --only-section .rodata -O binary eagle.app.v6.out eagle.app.v6.rodata.bin
-	xtensa-lx106-elf-objcopy --only-section .irom0.text -O binary eagle.app.v6.out eagle.app.v6.irom0text.bin
-)
+%OBJCOPY% --only-section .text -O binary eagle.app.v6.out eagle.app.v6.text.bin
+%OBJCOPY% --only-section .data -O binary eagle.app.v6.out eagle.app.v6.data.bin
+%OBJCOPY% --only-section .rodata -O binary eagle.app.v6.out eagle.app.v6.rodata.bin
+%OBJCOPY% --only-section .irom0.text -O binary eagle.app.v6.out eagle.app.v6.irom0text.bin

 gen_appbin.py eagle.app.v6.out v6


Archive was being stored in wrong directory.

--- ebtask_example.bat
+++ ebtask_example.bat
@@ -7,4 +7,4 @@
 set IMAP=[IMAP server address]

 %python% %BASE_DIR%\ebackup.py -e %EMAIL% -p %PASSWORD% -i %IMAP% -o %OUTPUT_DIR%
-%python% %BASE_DIR%\ebexporter.py -i %OUTPUT_DIR%\%EMAIL% -o %OUTPUT_DIR%\Archive.mbox+%python% %BASE_DIR%\ebexporter.py -i %OUTPUT_DIR%\%EMAIL% -o %OUTPUT_DIR%\%EMAIL%\Archive.mbox