mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
commit
1c0b07411c
1 changed files with 10 additions and 1 deletions
11
Makefile
11
Makefile
|
|
@ -9,7 +9,12 @@
|
||||||
.PHONY: tomo-windows tomo-windows-386 tomo-windows-amd64
|
.PHONY: tomo-windows tomo-windows-386 tomo-windows-amd64
|
||||||
|
|
||||||
GOBIN = $(shell pwd)/build/bin
|
GOBIN = $(shell pwd)/build/bin
|
||||||
|
GOFMT = gofmt
|
||||||
GO ?= latest
|
GO ?= latest
|
||||||
|
GO_PACKAGES = .
|
||||||
|
GO_FILES := $(shell find $(shell go list -f '{{.Dir}}' $(GO_PACKAGES)) -name \*.go)
|
||||||
|
|
||||||
|
GIT = git
|
||||||
|
|
||||||
tomo:
|
tomo:
|
||||||
build/env.sh go run build/ci.go install ./cmd/tomo
|
build/env.sh go run build/ci.go install ./cmd/tomo
|
||||||
|
|
@ -143,4 +148,8 @@ tomo-windows-386:
|
||||||
tomo-windows-amd64:
|
tomo-windows-amd64:
|
||||||
build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/tomo
|
build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/tomo
|
||||||
@echo "Windows amd64 cross compilation done:"
|
@echo "Windows amd64 cross compilation done:"
|
||||||
@ls -ld $(GOBIN)/tomo-windows-* | grep amd64
|
@ls -ld $(GOBIN)/geth-windows-* | grep amd64
|
||||||
|
|
||||||
|
gofmt:
|
||||||
|
$(GOFMT) -s -w $(GO_FILES)
|
||||||
|
$(GIT) checkout vendor
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue