-
Notifications
You must be signed in to change notification settings - Fork 0
/
build
executable file
·66 lines (66 loc) · 1.9 KB
/
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
zip -r ../360ControllerSource.zip *
cd Feedback360
xcodebuild -configuration Deployment
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../DriverTool
xcodebuild -configuration Release
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../360Controller
xcodebuild -configuration Deployment
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../360Daemon
xcodebuild -configuration Release
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../WirelessGamingReceiver
xcodebuild -configuration Release
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../Wireless360Controller
xcodebuild -configuration Release
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../Pref360Control
xcodebuild -configuration Deployment
if [ $? -ne 0 ]
then
echo "******** BUILD FAILED ********"
exit 1
fi
cd ../Install360Controller
freeze Install360Controller.packproj
mv build 360ControllerInstall
hdiutil create -srcfolder 360ControllerInstall -format UDZO ../../360ControllerInstall.dmg
mv 360ControllerInstall build
cd ..
echo "** File contents **"
lipo -info 360Controller/build/Deployment/360Controller.kext/Contents/MacOS/360Controller
lipo -info 360Controller/build/Deployment/360Controller.kext/Contents/PlugIns/Feedback360.plugin/Contents/MacOS/Feedback360
lipo -info 360Daemon/build/Release/360Daemon
lipo -info Pref360Control/build/Deployment/Pref360Control.prefPane/Contents/MacOS/Pref360Control
lipo -info Pref360Control/build/Deployment/Pref360Control.prefPane/Contents/Resources/DriverTool
lipo -info WirelessGamingReceiver/build/Release/WirelessGamingReceiver.kext/Contents/MacOS/WirelessGamingReceiver
lipo -info Wireless360Controller/build/Release/Wireless360Controller.kext/Contents/MacOS/Wireless360Controller
echo "*** DONE ***"