manuskript/package/build_osx.sh

11 lines
268 B
Bash
Executable file

#!/bin/bash
set -ev
if [ z"$FILENAME" = "z" ]; then
echo "Error: Environment variable FILENAME is not set"
exit 1
fi
pyinstaller manuskript.spec --clean
cd dist && zip $FILENAME -r manuskript && cd ..
ls dist
cp dist/$FILENAME dist/manuskript-osx-develop.zip