Makefile: allow target for creating release archive
It contains only *.nef and *.json files. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
f664595001
commit
e779f436b2
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
SHELL=bash
|
SHELL=bash
|
||||||
NEOGO?=neo-go
|
NEOGO?=neo-go
|
||||||
|
VERSION?=$(shell git describe --tags)
|
||||||
|
|
||||||
.PHONY: all build sidechain
|
.PHONY: all build sidechain
|
||||||
build: all
|
build: all
|
||||||
|
@ -40,3 +41,8 @@ mr_proper: clean
|
||||||
for sc in $(alphabet_sc); do\
|
for sc in $(alphabet_sc); do\
|
||||||
rm -rf alphabet/$$sc; \
|
rm -rf alphabet/$$sc; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
archive: build
|
||||||
|
@tar --transform "s|^./|neofs-contract-$(VERSION)/|" \
|
||||||
|
-czf neofs-contract-$(VERSION).tar.gz \
|
||||||
|
$(shell find . -name '*.nef' -o -name 'config.json')
|
||||||
|
|
Loading…
Reference in a new issue