1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #30639 from Microsoft/jjh/makeshortcut

Windows: Make.ps1 default to build binaries
This commit is contained in:
Sebastiaan van Stijn 2017-02-07 07:39:33 -08:00 committed by GitHub
commit 0a51ad2586

View file

@ -340,8 +340,8 @@ Try {
# Handle the "-Binary" shortcut to build both client and daemon. # Handle the "-Binary" shortcut to build both client and daemon.
if ($Binary) { $Client = $True; $Daemon = $True } if ($Binary) { $Client = $True; $Daemon = $True }
# Make sure we have something to 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)) { Throw 'Nothing to do. Try adding "-All" for everything I can do' } 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 # Verify git is installed
if ($(Get-Command git -ErrorAction SilentlyContinue) -eq $nil) { Throw "Git does not appear to be installed" } if ($(Get-Command git -ErrorAction SilentlyContinue) -eq $nil) { Throw "Git does not appear to be installed" }