forked from TrueCloudLab/neoneo-go
e09c870f7f
* Disconnect once go routines signal so * Send msg if cmd is other than cmdUnknown * Remove typo * Fix lock file * Updates README * Comment typo * Fix issue * Revert old changes * Handle error
28 lines
446 B
Makefile
28 lines
446 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}
|
|
|
|
test:
|
|
@go test ./... -cover
|
|
|
|
vet:
|
|
@go vet ./...
|