From 9aa219bca8fbaf7418fc5cc2e7f69dcbefe24217 Mon Sep 17 00:00:00 2001 From: Jamie Cansdale Date: Fri, 24 Nov 2017 17:01:54 +0000 Subject: [PATCH] Fix build/install to match README.md Both should accept Debug/Release. --- build.cmd | 3 ++- install.cmd | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.cmd b/build.cmd index 1a9c2d995..ed204a53a 100644 --- a/build.cmd +++ b/build.cmd @@ -1 +1,2 @@ -powershell -ExecutionPolicy Unrestricted scripts\build.ps1 %1 +@if "%1" == "" echo Please specify Debug or Release && EXIT /B +powershell -ExecutionPolicy Unrestricted scripts\build.ps1 -Package:$true -Config:%1 diff --git a/install.cmd b/install.cmd index 6ccb350b9..0f4624106 100644 --- a/install.cmd +++ b/install.cmd @@ -1,4 +1,3 @@ -@set Configuration=%1 -@if "%Configuration%" == "" echo Please specify Debug or Release -tools\VsixUtil\vsixutil /install "build\%Configuration%\GitHub.VisualStudio.vsix" -@echo Installed %Configuration% build of GitHub for Visual Studio +@if "%1" == "" echo Please specify Debug or Release && EXIT /B +tools\VsixUtil\vsixutil /install "build\%1\GitHub.VisualStudio.vsix" +@echo Installed %1 build of GitHub for Visual Studio