mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-15 09:20:44 +00:00
added GOFMT TO MAKEFILE
This commit is contained in:
parent
03cd215f38
commit
ea8fb76452
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -9,6 +9,7 @@
|
||||||
.PHONY: XDC-windows XDC-windows-386 XDC-windows-amd64
|
.PHONY: XDC-windows XDC-windows-386 XDC-windows-amd64
|
||||||
|
|
||||||
GOBIN = $(shell pwd)/build/bin
|
GOBIN = $(shell pwd)/build/bin
|
||||||
|
GOFMT = gofmt
|
||||||
GO ?= latest
|
GO ?= latest
|
||||||
|
|
||||||
XDC:
|
XDC:
|
||||||
|
|
@ -143,4 +144,8 @@ XDC-windows-386:
|
||||||
XDC-windows-amd64:
|
XDC-windows-amd64:
|
||||||
build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/XDC
|
build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/XDC
|
||||||
@echo "Windows amd64 cross compilation done:"
|
@echo "Windows amd64 cross compilation done:"
|
||||||
@ls -ld $(GOBIN)/XDC-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