diff --git a/Makefile b/Makefile index 6762aea..40db9c5 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ BINARY := aminal FONTPATH := ./gui/packed-fonts .PHONY: build -build: test install-tools +build: ./build.sh `git describe --tags` .PHONY: test diff --git a/build.sh b/build.sh index a51acbe..6e2e579 100755 --- a/build.sh +++ b/build.sh @@ -25,4 +25,6 @@ cp -r . ${SRCDIR} cd ${SRCDIR} go build -ldflags "-X github.com/liamg/aminal/version.Version=$version" ) +cp ${SRCDIR}/aminal ./aminal +rm -rf /tmp/.gobuild