Skip to content
Snippets Groups Projects
Commit 3e06789d authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Bundle in an app structure for osx

parent dfd2a689
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment