update proto / crypto / makefile

This commit is contained in:
Evgeniy Kulikov 2019-11-18 19:59:59 +03:00
parent 99ed41b905
commit 3f8e696433
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
3 changed files with 8 additions and 6 deletions

View file

@ -12,15 +12,15 @@ version:
@echo $(VERSION)
# Make sure that all files added to commit
vendor:
deps:
@printf "${B}${G}⇒ Ensure vendor${R}: "
@GOPRIVATE=bitbucket.org/nspcc-dev go mod tidy -v && echo OK || (echo fail && exit 2)
@go mod tidy -v && echo OK || (echo fail && exit 2)
@printf "${B}${G}⇒ Download requirements${R}: "
@GOPRIVATE=bitbucket.org/nspcc-dev go mod download && echo OK || (echo fail && exit 2)
@go mod download && echo OK || (echo fail && exit 2)
@printf "${B}${G}⇒ Store vendor localy${R}: "
@GOPRIVATE=bitbucket.org/nspcc-dev go mod vendor && echo OK || (echo fail && exit 2)
@go mod vendor && echo OK || (echo fail && exit 2)
image: vendor
image: deps
@echo "${B}${G}⇒ Build GW docker-image ${R}"
@docker build \
--build-arg REPO=$(REPO) \

2
go.mod
View file

@ -5,7 +5,7 @@ go 1.13
require (
github.com/labstack/echo/v4 v4.1.11
github.com/nspcc-dev/hrw v1.0.9 // indirect
github.com/nspcc-dev/neofs-proto v0.0.0-20191101093315-0d5a92f60568
github.com/nspcc-dev/neofs-proto v0.1.0
github.com/pkg/errors v0.8.1
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.5.0

2
go.sum
View file

@ -112,6 +112,8 @@ github.com/nspcc-dev/hrw v1.0.9 h1:17VcAuTtrstmFppBjfRiia4K2wA/ukXZhLFS8Y8rz5Y=
github.com/nspcc-dev/hrw v1.0.9/go.mod h1:l/W2vx83vMQo6aStyx2AuZrJ+07lGv2JQGlVkPG06MU=
github.com/nspcc-dev/neofs-crypto v0.1.0 h1:G5Nz5AO2ALwRCFgQkgtifZZPfPqZtGd9/qu6OoEF9EA=
github.com/nspcc-dev/neofs-crypto v0.1.0/go.mod h1:F/96fUzPM3wR+UGsPi3faVNmFlA9KAEAUQR7dMxZmNA=
github.com/nspcc-dev/neofs-crypto v0.2.1/go.mod h1:F/96fUzPM3wR+UGsPi3faVNmFlA9KAEAUQR7dMxZmNA=
github.com/nspcc-dev/neofs-proto v0.1.0/go.mod h1:dUbMyURyTeGx4tBz/Cz/ccsvQA6TRcNR1+EDB93Y4jA=
github.com/nspcc-dev/netmap v1.6.1 h1:Pigqpqi6QSdRiusbq5XlO20A18k6Eyu7j9MzOfAE3CM=
github.com/nspcc-dev/netmap v1.6.1/go.mod h1:mhV3UOg9ljQmu0teQShD6+JYX09XY5gu2I4hIByCH9M=
github.com/nspcc-dev/rfc6979 v0.1.0 h1:Lwg7esRRoyK1Up/IN1vAef1EmvrBeMHeeEkek2fAJ6c=