pack.do: New file Signed-off-by: Страхиња Радић <contact@strahinja.org>
1 files changed, 15 insertions(+), 0 deletions(-) A pack.do
A pack.do => pack.do +15 -0
@@ 0,0 1,15 @@ redo all #redo-ifchange version #read VERSION <version #VERSION=$(echo $VERSION | sed 's/^v//') DISTDIR=lav-sdl # To be able to create the directory with the same name rm lav-sdl mkdir $DISTDIR for f in $(git ls-files); do d=$DISTDIR/$(dirname $f) mkdir -p $d cp $f $d done tar cvf $DISTDIR.tar.xz $DISTDIR >/dev/null rm -fr $DISTDIR