mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
4023661cf1
* added headersOp for safely processing headers * Better handling of protocol messages. * housekeeping + cleanup tests * Added more blockchain logic + unit tests * fixed unreachable error. * added structured logging for all (node) components. * added relay flag + bumped version
28 lines
459 B
Makefile
28 lines
459 B
Makefile
BRANCH = "master"
|
|
VERSION = $(shell cat ./VERSION)
|
|
SEEDS ?= "127.0.0.1:20333"
|
|
PORT ?= "3000"
|
|
|
|
build:
|
|
@go build -o ./bin/neo-go ./cli/main.go
|
|
|
|
check-version:
|
|
git fetch && (! git rev-list ${VERSION})
|
|
|
|
deps:
|
|
@dep ensure
|
|
|
|
push-tag:
|
|
git checkout ${BRANCH}
|
|
git pull origin ${BRANCH}
|
|
git tag ${VERSION}
|
|
git push origin ${BRANCH} --tags
|
|
|
|
run: build
|
|
./bin/neo-go node -seed ${SEEDS} -tcp ${PORT} --relay true
|
|
|
|
test:
|
|
@go test ./... -cover
|
|
|
|
vet:
|
|
@go vet ./...
|