diff --git a/Build.cmd b/Build.cmd index 4ec9efc..8b996c8 100644 --- a/Build.cmd +++ b/Build.cmd @@ -1,3 +1,3 @@ @echo off -powershell -ExecutionPolicy ByPass .\build\Build.ps1 -restore -build %* +powershell -ExecutionPolicy ByPass %~dp0build\Build.ps1 -restore -build %* exit /b %ErrorLevel% diff --git a/CIBuild.cmd b/CIBuild.cmd index 19f21fa..66fabd4 100644 --- a/CIBuild.cmd +++ b/CIBuild.cmd @@ -1,3 +1,3 @@ @echo off -powershell -ExecutionPolicy ByPass .\build\Build.ps1 -restore -build -test -sign -pack -ci %* +powershell -ExecutionPolicy ByPass %~dp0build\Build.ps1 -restore -build -test -sign -pack -ci %* exit /b %ErrorLevel% diff --git a/Restore.cmd b/Restore.cmd index 7dcb936..2b11bfc 100644 --- a/Restore.cmd +++ b/Restore.cmd @@ -1,3 +1,3 @@ @echo off -powershell -ExecutionPolicy ByPass .\build\Build.ps1 -restore %* +powershell -ExecutionPolicy ByPass %~dp0build\Build.ps1 -restore %* exit /b %ErrorLevel% diff --git a/Test.cmd b/Test.cmd index f4cbb22..8da52a8 100644 --- a/Test.cmd +++ b/Test.cmd @@ -1,3 +1,3 @@ @echo off -powershell -ExecutionPolicy ByPass .\build\Build.ps1 -test %* +powershell -ExecutionPolicy ByPass %~dp0build\Build.ps1 -test %* exit /b %ErrorLevel% \ No newline at end of file