Update dependencies and move to Go 1.17 (#81)
This commit is contained in:
parent
fce348e7ac
commit
f606b129b2
5 changed files with 438 additions and 208 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue