diff --git a/meshconsole/MeshConsole.vcxproj b/meshconsole/MeshConsole.vcxproj index 0d92bbf..2a49e9d 100644 --- a/meshconsole/MeshConsole.vcxproj +++ b/meshconsole/MeshConsole.vcxproj @@ -350,7 +350,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -374,7 +374,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -398,7 +398,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -422,7 +422,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -449,7 +449,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -476,7 +476,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -503,7 +503,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -527,7 +527,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -551,7 +551,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -575,7 +575,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -602,7 +602,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -629,7 +629,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h diff --git a/meshservice/MeshService.vcxproj b/meshservice/MeshService.vcxproj index fc975c1..1283aa4 100644 --- a/meshservice/MeshService.vcxproj +++ b/meshservice/MeshService.vcxproj @@ -226,7 +226,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -271,7 +271,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -314,7 +314,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -357,7 +357,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -399,7 +399,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -442,7 +442,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -487,7 +487,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h @@ -532,7 +532,7 @@ IF %ERRORLEVEL% NEQ 0 exit 0 @echo // This file is auto-generated, any edits may be overwritten > $(ProjectDir)..\microscript\ILibDuktape_Commit.h git log -1 2>nul | FINDSTR /C:"Date:" | FOR /F "tokens=3,4,5,6,7" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_DATE "%%I-%%F-%%G %%H%%J" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h - git log -1 2>nul | FINDSTR /C:"commit" | FOR /F "tokens=2" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h + git log -1 --format=%%H | FOR /F "tokens=1" %%F in ('findstr "."') do @echo #define SOURCE_COMMIT_HASH "%%F" >> $(ProjectDir)..\microscript\ILibDuktape_Commit.h