[#250] Makefile: allow to build from the source archive

Close #249.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-18 08:36:49 +03:00 committed by fyrchik
parent 69b308e792
commit 0b8e112ea3
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
SHELL=bash
GOBIN ?= $(shell go env GOPATH)/bin
NEOGO ?= $(GOBIN)/cli
VERSION?=$(shell git describe --tags)
VERSION ?= $(shell git describe --tags --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
.PHONY: all build clean test neo-go
.PHONY: alphabet mainnet morph nns sidechain

1
VERSION Normal file
View file

@ -0,0 +1 @@
v0.15.2