Update dependencies and move to Go 1.17 ()

This commit is contained in:
Antonio Navarro Perez 2021-10-08 16:15:09 +02:00 committed by GitHub
parent fce348e7ac
commit f606b129b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 438 additions and 208 deletions

View file

@ -39,12 +39,12 @@ go-generate:
go-cross-compile:
@echo " > Compiling for several platforms..."
GO111MODULE=off go get -u src.techknowlogick.com/xgo
go install src.techknowlogick.com/xgo@latest
docker build ./build_tools/ -t distribyted/xgo-cgofuse
mkdir -p $(ORGPATH)
ln -sfrnT . $(REPOPATH)
GOPATH=$(GOPATH) xgo -out bin/distribyted-$(VERSION) -image=distribyted/xgo-cgofuse -ldflags='$(LDFLAGS)' -tags="release" -targets=linux/arm-7 $(REPOPATH)/cmd/distribyted/
GOPATH=$(GOPATH) xgo -out bin/distribyted-$(VERSION) -image=distribyted/xgo-cgofuse -ldflags='$(LDFLAGS)' -tags="release" -targets=linux/arm-7 $(REPOPATH)
.PHONY: help
all: help