1
0

Pyinstaller: Clean cache before building

Clean PyInstaller cache and remove temporary files before building.
This commit is contained in:
Lucas Betschart
2018-04-20 11:10:23 +02:00
committed by Johann Bauer
parent fa6c213d5f
commit d467a5a8ec
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ for d in ~/Library/Python/ ~/.pyenv .; do
done
info "Building binary"
pyinstaller --noconfirm --ascii --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"
pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"
info "Creating .DMG"
hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrum-$VERSION.dmg || fail "Could not create .DMG"