3 # This script cleans all targets, then builds the projects for the server, the plugins and the application (sclang) projects, one after another.
6 echo "Cleaning scsynth..."
7 xcodebuild
-project Synth.xcodeproj
-target "All" clean ||
exit
9 echo "Cleaning plugins..."
10 xcodebuild
-project Plugins.xcodeproj
-target "All" clean ||
exit
12 echo "Cleaning sclang..."
13 xcodebuild
-project Language.xcodeproj
-target "All" clean ||
exit
18 echo "Building scsynth..."
19 xcodebuild
-project Synth.xcodeproj
-target "All" -configuration "Deployment" build ||
exit
22 echo "Building plugins..."
23 xcodebuild
-project Plugins.xcodeproj
-target "All" -configuration "Deployment" build ||
exit
26 echo "Building sclang..."
27 xcodebuild
-project Language.xcodeproj
-target "All" -configuration "Deployment" build ||
exit