endif
PACKAGES := $(shell go list ./... | grep -v '/vendor/' | grep -v '/crypto/ed25519/chainkd' | grep -v '/mining/tensority')
-PACKAGES += 'github.com/bytom/mining/tensority/go_algorithm'
-BUILD_FLAGS := -ldflags "-X github.com/bytom/version.GitCommit=`git rev-parse HEAD`"
+BUILD_FLAGS := -ldflags "-X github.com/vapor/version.GitCommit=`git rev-parse HEAD`"
MINER_BINARY32 := miner-$(GOOS)_386
MINER_BINARY64 := miner-$(GOOS)_amd64
all: test target release-all install
+fedd:
+ @echo "Building fedd to cmd/fedd/fedd"
+ @go build $(BUILD_FLAGS) -o cmd/fedd/fedd cmd/fedd/main.go
+
bytomd:
@echo "Building bytomd to cmd/bytomd/bytomd"
@go build $(BUILD_FLAGS) -o cmd/bytomd/bytomd cmd/bytomd/main.go
functional-tests:
@go test -timeout=5m -tags="functional" ./test
-ci: test functional-tests
+ci: test
.PHONY: all target release-all clean test benchmark