From 12f7753d368dcfe0f3b317b458b534e1a2fcf666 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 1 Feb 2017 09:54:04 -0800 Subject: [PATCH] Windows: Make.ps1 default to build binaries Signed-off-by: John Howard Upstream-commit: 674247f5f02172988ba3a75f04e97baaac348aaa Component: engine --- components/engine/hack/make.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/engine/hack/make.ps1 b/components/engine/hack/make.ps1 index 224fbf18ce..5c3935df5b 100644 --- a/components/engine/hack/make.ps1 +++ b/components/engine/hack/make.ps1 @@ -319,8 +319,8 @@ Try { # Handle the "-Binary" shortcut to build both client and daemon. if ($Binary) { $Client = $True; $Daemon = $True } - # Make sure we have something to do - if (-not($Client) -and -not($Daemon) -and -not($DCO) -and -not($PkgImports) -and -not($GoFormat) -and -not($TestUnit)) { Throw 'Nothing to do. Try adding "-All" for everything I can do' } + # Default to building the binaries if not asked for anything explicitly. + if (-not($Client) -and -not($Daemon) -and -not($DCO) -and -not($PkgImports) -and -not($GoFormat) -and -not($TestUnit)) { $Client=$True; $Daemon=$True } # Verify git is installed if ($(Get-Command git -ErrorAction SilentlyContinue) -eq $nil) { Throw "Git does not appear to be installed" }