mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
Let make protos
affect host files
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
40fa78ac5d
commit
14fb12c8c8
1
Makefile
1
Makefile
@ -32,6 +32,7 @@ all: cli
|
|||||||
|
|
||||||
protos: ## Generate go code from .proto files
|
protos: ## Generate go code from .proto files
|
||||||
@docker build . \
|
@docker build . \
|
||||||
|
--output type=local,dest=. \
|
||||||
--target protos
|
--target protos
|
||||||
|
|
||||||
cli: ## Compile the cli
|
cli: ## Compile the cli
|
||||||
|
@ -10,6 +10,7 @@ import (
|
|||||||
"github.com/Azure/azure-sdk-for-go/profiles/latest/containerinstance/mgmt/containerinstance"
|
"github.com/Azure/azure-sdk-for-go/profiles/latest/containerinstance/mgmt/containerinstance"
|
||||||
"github.com/Azure/go-autorest/autorest/to"
|
"github.com/Azure/go-autorest/autorest/to"
|
||||||
"github.com/compose-spec/compose-go/types"
|
"github.com/compose-spec/compose-go/types"
|
||||||
|
|
||||||
"github.com/docker/api/compose"
|
"github.com/docker/api/compose"
|
||||||
"github.com/docker/api/context/store"
|
"github.com/docker/api/context/store"
|
||||||
)
|
)
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.21.0-devel
|
// protoc-gen-go v1.22.0
|
||||||
// protoc v3.6.1
|
// protoc v3.6.1
|
||||||
// source: backend/v1/backend.proto
|
// source: backend/v1/backend.proto
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.21.0-devel
|
// protoc-gen-go v1.22.0
|
||||||
// protoc v3.6.1
|
// protoc v3.6.1
|
||||||
// source: cli/v1/cli.proto
|
// source: cli/v1/cli.proto
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.21.0-devel
|
// protoc-gen-go v1.22.0
|
||||||
// protoc v3.6.1
|
// protoc v3.6.1
|
||||||
// source: compose/v1/compose.proto
|
// source: compose/v1/compose.proto
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.21.0-devel
|
// protoc-gen-go v1.22.0
|
||||||
// protoc v3.6.1
|
// protoc v3.6.1
|
||||||
// source: containers/v1/containers.proto
|
// source: containers/v1/containers.proto
|
||||||
|
|
||||||
|
@ -5,9 +5,10 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/Azure/azure-sdk-for-go/profiles/2019-03-01/resources/mgmt/resources"
|
"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/azure"
|
||||||
. "github.com/docker/api/tests/framework"
|
. "github.com/docker/api/tests/framework"
|
||||||
. "github.com/onsi/gomega"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const resourceGroupName = "resourceGroupTest"
|
const resourceGroupName = "resourceGroupTest"
|
||||||
|
@ -3,8 +3,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
. "github.com/docker/api/tests/framework"
|
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
|
|
||||||
|
. "github.com/docker/api/tests/framework"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user