add helper script

This commit is contained in:
Filip Gralinski 2015-12-20 19:21:45 +01:00
parent 88b5d80953
commit aa75c1c0c7
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ cabal.sandbox.config
*~ *~
arena/t* arena/t*
arena/r* arena/r*
gonito-*.tar.gz

10
pack.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
DATESTAMP=`date +%Y-%m-%d`
PACKAGE=gonito-$DATESTAMP.tar.gz
echo $PACKAGE
cp ~/.local/bin/gonito .
tar zvcf $PACKAGE gonito config/ static/
rm gonito