forked from TrueCloudLab/neoneo-go
aa4bc1b6e8
* block partial persist * replaced refactored files with old one. * removed gokit/log from deps * Tweaks to not overburden remote nodes with getheaders/getblocks * Changed Transporter interface to not take the server as argument due to a cause of race warning from the compiler * started server test suite * more test + return errors from message handlers * removed --race from build * Little improvements.
29 lines
495 B
Makefile
29 lines
495 B
Makefile
BRANCH = "master"
|
|
VERSION = $(shell cat ./VERSION)
|
|
SEEDS ?= "127.0.0.1:20333"
|
|
PORT ?= "3000"
|
|
DBFILE ?= "chain"
|
|
|
|
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} -dbfile ${DBFILE} --relay true
|
|
|
|
test:
|
|
@go test ./... -cover
|
|
|
|
vet:
|
|
@go vet ./...
|