Small bash script to run macdeployqt then clean up unused frameworks

This commit is contained in:
Matt Keeter 2014-03-24 20:50:06 -04:00
parent 428aff52a5
commit 70f0297d20

10
app/package.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
cd ../build
macdeployqt fstl.app
cd fstl.app/Contents/PlugIns
rm -rf accessible audio imageformats mediaservice playlistformats position printsupport qml1tooling sensorgestures sensors
cd ../Frameworks
rm -rf QtDeclarative.framework QtMultimedia.framework QtMultimediaWidgets.framework QtNetwork.framework QtPositioning.framework QtQml.framework QtQuick.framework QtScript.framework QtSensors.framework QtSql.framework QtXmlPatterns.framework
cd ../Resources
rm empty.lproj