Commit 3e06789d authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Bundle in an app structure for osx

parent dfd2a689
...@@ -49,6 +49,8 @@ cd $TMPDIR ...@@ -49,6 +49,8 @@ cd $TMPDIR
ARCHIVENAME=$CURPWD/agkyra-snapshot-${os} ARCHIVENAME=$CURPWD/agkyra-snapshot-${os}
if [[ "$os" =~ ^(linux64|linux32)$ ]]; then if [[ "$os" =~ ^(linux64|linux32)$ ]]; then
tar czf ${ARCHIVENAME}.tar.gz agkyra tar czf ${ARCHIVENAME}.tar.gz agkyra
else elif [[ "$os" =~ ^(osx64|osx32)$ ]]; then
zip -r ${ARCHIVENAME}.zip agkyra mkdir -p agkyra.app/Contents
mv agkyra agkyra.app/Contents/MacOS
zip -r ${ARCHIVENAME}.zip agkyra.app
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment