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

Update make.ps1 to respect client repo

Signed-off-by: John Stephens <johnstep@docker.com>
This commit is contained in:
John Stephens 2017-05-09 12:55:30 -07:00
parent 1a6f8a92b2
commit 2bc6fffacb
No known key found for this signature in database
GPG key ID: 240549B2101E94D4

View file

@ -397,12 +397,13 @@ Try {
# Perform the actual build # Perform the actual build
if ($Daemon) { Execute-Build "daemon" "daemon" "dockerd" } if ($Daemon) { Execute-Build "daemon" "daemon" "dockerd" }
if ($Client) { if ($Client) {
$dockerCliCommit=$(findstr DOCKERCLI_COMMIT hack\dockerfile\binaries-commits) $dockerCliRepo = (findstr DOCKERCLI_REPO hack\dockerfile\binaries-commits).split("=")[1]
$dockerCliCommit = (findstr DOCKERCLI_COMMIT hack\dockerfile\binaries-commits).split("=")[1]
Push-Location .. Push-Location ..
# TODO: check if cli folder exists already # TODO: check if cli folder exists already
git clone https://github.com/docker/cli git clone $dockerCliRepo
cd cli cd cli
git checkout $dockerCliCommit.split("=")[1] git checkout $dockerCliCommit
# TODO: update CI script to not assume binary is in docker/docker # TODO: update CI script to not assume binary is in docker/docker
go build -o ..\docker\bundles\docker.exe github.com/docker/cli/cmd/docker go build -o ..\docker\bundles\docker.exe github.com/docker/cli/cmd/docker
Pop-Location Pop-Location