forked from TrueCloudLab/frostfs-rest-gw
[#34] Drop GO111MODULE from builds
It is enabled by default since go1.16 Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
0171f5a0a3
commit
aaf7433c7b
1 changed files with 0 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -36,7 +36,6 @@ all: generate-server $(BINS)
|
||||||
$(BINS): $(DIRS) dep
|
$(BINS): $(DIRS) dep
|
||||||
@echo "⇒ Build $@"
|
@echo "⇒ Build $@"
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
GO111MODULE=on \
|
|
||||||
go build -v -trimpath \
|
go build -v -trimpath \
|
||||||
-ldflags "-X main.Version=$(VERSION)" \
|
-ldflags "-X main.Version=$(VERSION)" \
|
||||||
-o $@ ./cmd/neofs-rest-gw
|
-o $@ ./cmd/neofs-rest-gw
|
||||||
|
@ -49,11 +48,9 @@ $(DIRS):
|
||||||
dep:
|
dep:
|
||||||
@printf "⇒ Download requirements: "
|
@printf "⇒ Download requirements: "
|
||||||
@CGO_ENABLED=0 \
|
@CGO_ENABLED=0 \
|
||||||
GO111MODULE=on \
|
|
||||||
go mod download && echo OK
|
go mod download && echo OK
|
||||||
@printf "⇒ Tidy requirements: "
|
@printf "⇒ Tidy requirements: "
|
||||||
@CGO_ENABLED=0 \
|
@CGO_ENABLED=0 \
|
||||||
GO111MODULE=on \
|
|
||||||
go mod tidy -v && echo OK
|
go mod tidy -v && echo OK
|
||||||
|
|
||||||
# Install swagger
|
# Install swagger
|
||||||
|
|
Loading…
Reference in a new issue