mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-27 15:42:54 +00:00
23 lines
No EOL
344 B
Makefile
23 lines
No EOL
344 B
Makefile
BRANCH = "master"
|
|
VERSION = $(shell cat ./VERSION)
|
|
|
|
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
|
|
|
|
test:
|
|
@go test ./... -cover
|
|
|
|
vet:
|
|
@go vet ./...
|