forked from TrueCloudLab/neoneo-go
23 lines
No EOL
371 B
Makefile
23 lines
No EOL
371 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:
|
|
@glide install
|
|
|
|
push-tag:
|
|
git checkout ${BRANCH}
|
|
git pull origin ${BRANCH}
|
|
git tag ${VERSION}
|
|
git push origin ${BRANCH} --tags
|
|
|
|
test:
|
|
@go test $(shell glide nv) -cover
|
|
|
|
vet:
|
|
@go vet $(shell glide nv)
|