aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 09c412185876de1e4ee1e9fcb9d92914902b0062 (plain) (tree)
1
2
3
4
5
6
7






                                               














                                                                         
install:
	go get -u github.com/golang/dep/cmd/dep
	dep ensure
	go get github.com/aktau/github-release

clean:
	rm -rf vendor

release_version = $(shell git describe --tags --always)
release_file = front_$(release_version).tar.gz
folder = ~/.no_backup/projets/git.immae.eu/releases/cryptoportfolio/front

build_release:
	git archive HEAD -o $(release_file)
	mv $(release_file) $(folder)
	@echo "====== Version information ======"
	@echo "$(release_version)"
	@echo -n "sha256: "
	@sha256sum $(folder)/$(release_file) | cut -d' ' -f1
	@echo "================================="