New install method for gxz

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser 2022-06-22 10:59:55 -05:00
parent 05a5366d7f
commit 92dc3514a9
No known key found for this signature in database
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@ release-check:
.PHONY: release-compress
release-compress:
@hash gxz > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u github.com/ulikunitz/xz/cmd/gxz; \
$(GO) install github.com/ulikunitz/xz/cmd/gxz@latest; \
fi
cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "compressing $${file}" && gxz -k -9 $${file}; done;