Let `make protos` affect host files

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-05-13 07:52:43 +02:00
parent 40fa78ac5d
commit 14fb12c8c8
8 changed files with 10 additions and 6 deletions

View File

@ -32,6 +32,7 @@ all: cli
protos: ## Generate go code from .proto files
@docker build . \
--output type=local,dest=. \
--target protos
cli: ## Compile the cli

View File

@ -10,6 +10,7 @@ import (
"github.com/Azure/azure-sdk-for-go/profiles/latest/containerinstance/mgmt/containerinstance"
"github.com/Azure/go-autorest/autorest/to"
"github.com/compose-spec/compose-go/types"
"github.com/docker/api/compose"
"github.com/docker/api/context/store"
)

View File

@ -26,7 +26,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.21.0-devel
// protoc-gen-go v1.22.0
// protoc v3.6.1
// source: backend/v1/backend.proto

View File

@ -26,7 +26,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.21.0-devel
// protoc-gen-go v1.22.0
// protoc v3.6.1
// source: cli/v1/cli.proto

View File

@ -26,7 +26,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.21.0-devel
// protoc-gen-go v1.22.0
// protoc v3.6.1
// source: compose/v1/compose.proto

View File

@ -26,7 +26,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.21.0-devel
// protoc-gen-go v1.22.0
// protoc v3.6.1
// source: containers/v1/containers.proto

View File

@ -5,9 +5,10 @@ import (
"log"
"github.com/Azure/azure-sdk-for-go/profiles/2019-03-01/resources/mgmt/resources"
. "github.com/onsi/gomega"
"github.com/docker/api/azure"
. "github.com/docker/api/tests/framework"
. "github.com/onsi/gomega"
)
const resourceGroupName = "resourceGroupTest"

View File

@ -3,8 +3,9 @@ package main
import (
"time"
. "github.com/docker/api/tests/framework"
. "github.com/onsi/gomega"
. "github.com/docker/api/tests/framework"
)
func main() {