Browse code

Windows: Make.ps1 default to build binaries

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2017/02/02 02:54:04
Showing 1 changed files
... ...
@@ -319,8 +319,8 @@ Try {
319 319
     # Handle the "-Binary" shortcut to build both client and daemon.
320 320
     if ($Binary) { $Client = $True; $Daemon = $True }
321 321
 
322
-    # Make sure we have something to do
323
-    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' }
322
+    # Default to building the binaries if not asked for anything explicitly.
323
+    if (-not($Client) -and -not($Daemon) -and -not($DCO) -and -not($PkgImports) -and -not($GoFormat) -and -not($TestUnit)) { $Client=$True; $Daemon=$True }
324 324
 
325 325
     # Verify git is installed
326 326
     if ($(Get-Command git -ErrorAction SilentlyContinue) -eq $nil) { Throw "Git does not appear to be installed" }