Skip to content
This repository was archived by the owner on May 24, 2019. It is now read-only.

Commit 9128037

Browse files
lunnyappleboy
authored andcommitted
Add missing make-compress to fix release (#23)
1 parent bf9620d commit 9128037

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ endif
176176
release-copy:
177177
cd $(DIST); for file in `find /build -type f -name "*"`; do cp $${file} ./release/; done;
178178

179+
.PHONY: release-compress
180+
release-compress:
181+
@hash gxz > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
182+
$(GO) get -u github.com/ulikunitz/xz/cmd/gxz; \
183+
fi
184+
cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "compressing $${file}" && gxz -k -9 $${file}; done;
185+
179186
.PHONY: release-check
180187
release-check:
181188
cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "checksumming $${file}" && $(SHASUM) `echo $${file} | sed 's/^..//'` > $${file}.sha256; done;

0 commit comments

Comments
 (0)