]> git.sur5r.net Git - fstl/commitdiff
Small bash script to run macdeployqt then clean up unused frameworks
authorMatt Keeter <matt.j.keeter@gmail.com>
Tue, 25 Mar 2014 00:50:06 +0000 (20:50 -0400)
committerMatt Keeter <matt.j.keeter@gmail.com>
Tue, 25 Mar 2014 01:01:43 +0000 (21:01 -0400)
app/package.sh [new file with mode: 0755]

diff --git a/app/package.sh b/app/package.sh
new file mode 100755 (executable)
index 0000000..d012bfb
--- /dev/null
@@ -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
+