Subversion Repositories Projects

Rev

Rev 813 | Rev 906 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
821 - 1
#!/bin/bash
674 KeyOz 2
 
711 KeyOz 3
QMAKE="qmake-mac"
674 KeyOz 4
MAKEOPT=""
5
 
6
case "$1" in
7
    "beta")
8
        CONFIG=""
9
        ;;
10
    *)
11
        CONFIG="CONFIG-=debug"
12
        ;;
13
esac
14
 
15
# QMK-Communicator erstellen
16
######################
17
cd ./QMK-Communicator
18
${QMAKE} QMK-Communicator.pro ${CONFIG}
813 - 19
make clean
674 KeyOz 20
make ${MAKEOPT}
21
cd ..
813 - 22
 
674 KeyOz 23
cd ./QMK-Settings
24
${QMAKE} QMK-Settings.pro ${CONFIG}
813 - 25
make clean
674 KeyOz 26
make ${MAKEOPT}
27
cd ..
813 - 28
cd Binary
29
macdeployqt QMK-Settings.app
821 - 30
echo Copying QKM-Settings...
813 - 31
cp QMK-Settings.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
821 - 32
echo Copying frameworks...
33
echo "cp -R QMK-Settings.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks"
34
cp -R QMK-Settings.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks
813 - 35
cd ..
36
 
674 KeyOz 37
cd ./QMK-Maps
38
${QMAKE} QMK-Maps.pro ${CONFIG}
813 - 39
make clean
674 KeyOz 40
make ${MAKEOPT}
41
cd ..
813 - 42
cd Binary
43
macdeployqt QMK-Maps.app
821 - 44
echo Copying QMK-Maps...
813 - 45
cp QMK-Maps.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
821 - 46
echo Copying frameworks...
47
echo "cp -R QMK-Maps.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks"
48
cp -R QMK-Maps.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks
801 - 49
cd ..
813 - 50
 
51
#cd ./QMK-Scope
52
#${QMAKE} QMK-Scope.pro CONFIG+=OSX CONFIG-=debug
53
#make clean
54
#make ${MAKEOPT}
55
#cd ..
56
#cd Binary
57
#macdeployqt QMK-Scope.app
58
#cp QMK-Scope.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
821 - 59
#cp -R QMK-Scope.app/Contents/Frameworks/* QMK-Communicator.app/Contents/Frameworks
813 - 60
#cd ..
61
 
674 KeyOz 62
#cd ./QMK-Voice
63
#${QMAKE} QMK-Voice.pro ${CONFIG}
813 - 64
#make clean
674 KeyOz 65
#make ${MAKEOPT}
66
#cd ..
813 - 67
 
674 KeyOz 68
#cd ./QMK-Logger
69
#${QMAKE} QMK-Logger.pro ${CONFIG}
813 - 70
#make clean
674 KeyOz 71
#make ${MAKEOPT}
72
#cd ..
813 - 73
 
750 KeyOz 74
#cd ./QMK-Control
75
#${QMAKE} QMK-Control.pro CONFIG+=OSX ${CONFIG}
813 - 76
#make clean
750 KeyOz 77
#make ${MAKEOPT}
78
#cd ..
813 - 79
 
80
cd Binary
81
macdeployqt QMK-Communicator.app -dmg