X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Makefile;h=da282ce89627c3848bc090d92e646b4f2d49a070;hb=3fc2f359fcd04f3effe5d087aacad9935408d811;hp=a834c6e128cdbad7021c8abf0ae1be1d19a10d2d;hpb=c48c836234cfbd07dd417580678d470e0a5fb7f0;p=bytom%2Fbytom.git diff --git a/Makefile b/Makefile index a834c6e1..da282ce8 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,11 @@ ifeq ($(UNAME_S),Darwin) else ifeq ($(UNAME_S),Linux) GOOS := linux else -$(error "$$GOOS is not defined.") +$(error "$$GOOS is not defined. If you are using Windows, try to re-make using 'GOOS=windows make ...' ") endif endif -PACKAGES := $(shell go list ./... | grep -v '/vendor/') +PACKAGES := $(shell go list ./... | grep -v '/vendor/' | grep -v '/crypto/ed25519/chainkd') BUILD_FLAGS := -ldflags "-X github.com/bytom/version.GitCommit=`git rev-parse HEAD`" MINER_BINARY32 := miner-$(GOOS)_386 @@ -112,7 +112,7 @@ benchmark: go test -bench $(PACKAGES) functional-tests: - @go test -v -timeout=30m -tags=functional ./test + @go test -v -timeout=5m -tags=functional ./test ci: test functional-tests