forked from TrueCloudLab/frostfs-http-gw
update makefile dev command
This commit is contained in:
parent
cf0f9ce5f6
commit
758006dea0
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -35,6 +35,7 @@ image: deps
|
||||||
dev: VERSIONS?=$(GRPC_VERSION)
|
dev: VERSIONS?=$(GRPC_VERSION)
|
||||||
dev:
|
dev:
|
||||||
@echo "=> Build multiple images for $(VERSIONS)"; \
|
@echo "=> Build multiple images for $(VERSIONS)"; \
|
||||||
|
git checkout go.{sum,mod}; \
|
||||||
for v in $(VERSIONS); do \
|
for v in $(VERSIONS); do \
|
||||||
curdir=$$(pwd); \
|
curdir=$$(pwd); \
|
||||||
echo "=> Checkout gRPC to $${v}"; \
|
echo "=> Checkout gRPC to $${v}"; \
|
||||||
|
@ -44,7 +45,7 @@ dev:
|
||||||
git checkout go.{sum,mod}; \
|
git checkout go.{sum,mod}; \
|
||||||
go get google.golang.org/grpc@$${v}; \
|
go get google.golang.org/grpc@$${v}; \
|
||||||
cd $${curdir}; \
|
cd $${curdir}; \
|
||||||
cp go_dev.mod go.sum; \
|
cp go_dev.mod go.mod; \
|
||||||
go get google.golang.org/grpc@$${v}; \
|
go get google.golang.org/grpc@$${v}; \
|
||||||
make image VERSION=$(VERSION)-$${v}; \
|
make image VERSION=$(VERSION)-$${v}; \
|
||||||
git checkout go.{sum,mod}; \
|
git checkout go.{sum,mod}; \
|
||||||
|
|
Loading…
Reference in a new issue