Fix non-vendor compilation

Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko Draskovic
2023-10-19 17:58:23 +02:00
parent 63d8035e46
commit a63cafc4d0
3 changed files with 929 additions and 36 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ CLI_BIN = ${BUILD_DIR}/cocos-cli
define compile_service
CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) GOARCH=$(GOARCH) GOARM=$(GOARM) \
go build -mod=vendor -ldflags "-s -w \
go build -ldflags "-s -w \
-X 'github.com/mainflux/mainflux.BuildTime=$(TIME)' \
-X 'github.com/mainflux/mainflux.Version=$(VERSION)' \
-X 'github.com/mainflux/mainflux.Commit=$(COMMIT)'" \
+4 -5
View File
@@ -10,11 +10,11 @@ require (
github.com/go-zoo/bone v1.3.0
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang/protobuf v1.5.3
github.com/mainflux/mainflux v0.0.0-20230808124232-b4b625ddb125
github.com/mainflux/mainflux v0.12.0
github.com/prometheus/client_golang v1.17.0
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/ultravioletrs/agent v0.0.0-20230921133856-4f0580560012
github.com/ultravioletrs/agent v0.0.0-20231019134633-4bf80d3df37f
github.com/ultravioletrs/manager v0.0.0-20231009152116-740a63128799
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.45.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0
@@ -29,7 +29,6 @@ require (
)
require (
cloud.google.com/go/compute v1.23.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
@@ -44,8 +43,8 @@ require (
github.com/prometheus/procfs v0.11.1 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
)
+924 -30
View File
File diff suppressed because it is too large Load Diff