tar.xz builds for Fedora

pull/180/head
Chris Simpkins 2016-01-18 10:58:36 +07:00
parent 46fad667e3
commit f396516d50
4 changed files with 17 additions and 0 deletions

@ -0,0 +1,17 @@
#!/bin/sh
HACK_VERSION="v2.019"
HACK_BUILD_DIR="../../build"
# Make build directory the current working directory
cd "$HACK_BUILD_DIR"
# Build ttf file archive
tar c ttf --exclude=*.DS_Store | xz --extreme -9 --force > "Hack_${HACK_VERSION}-ttf.tar.xz"
# Build otf file archive
tar c otf --exclude=*.DS_Store | xz --extreme -9 --force > "Hack_${HACK_VERSION}-otf.tar.xz"
# Build web font file archive
tar c webfonts --exclude=*.DS_Store | xz --extreme -9 --force > "Hack_${HACK_VERSION}-webfonts.tar.xz"