Skip to content

Commit

Permalink
Fixing old post-build script, also updating gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hochenbaum committed Jan 11, 2017
1 parent dcb9e1c commit 64d5b12
Show file tree
Hide file tree
Showing 6 changed files with 3,237 additions and 4,385 deletions.
23 changes: 23 additions & 0 deletions .gitignore
@@ -1,3 +1,26 @@
Builds/MacOSX/build
.DS_Store

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
7,565 changes: 3,197 additions & 4,368 deletions Builds/MacOSX/ChuckRacks.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions ChuckRacks.jucer
Expand Up @@ -102,7 +102,7 @@
</GROUP>
</MAINGROUP>
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/VST3 SDK" postbuildCommand="&#13;&#10;# This script takes the build product and copies it to the AU, VST, VST3, RTAS and AAX folders, depending on &#13;&#10;# which plugin types you've built&#13;&#10;&#13;&#10;original=$CONFIGURATION_BUILD_DIR/$FULL_PRODUCT_NAME&#13;&#10;&#13;&#10;# this looks inside the binary to detect which platforms are needed.. &#13;&#10;copyAU=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'AudioUnit' | wc -l&#96;&#13;&#10;copyVST=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'VSTPlugin' | wc -l&#96;&#13;&#10;copyVST3=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'GetPluginFactory' | wc -l&#96;&#13;&#10;copyRTAS=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'CProcess' | wc -l&#96;&#13;&#10;copyAAX=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'ACFStartup' | wc -l&#96;&#13;&#10;&#13;&#10;if [ $copyAU -gt 0 ]; then&#13;&#10; echo &quot;Copying to AudioUnit folder...&quot;&#13;&#10; AU=~/Library/Audio/Plug-Ins/Components/$PRODUCT_NAME.component&#13;&#10; if [ -d &quot;$AU&quot; ]; then &#13;&#10; rm -r &quot;$AU&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$AU&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$AU/Contents/PkgInfo&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$AU/Contents/$INFOPLIST_FILE&quot;&#13;&#10;&#13;&#10; # Fix info.plist for AUs built with Xcode 3&#13;&#10; if [ -f &quot;$DEVELOPER_DIR/Library/Developer/CoreAudio/AudioUnits/AUPublic/AUBase/AUPlugInDispatch.cpp&quot; ]; then&#13;&#10; echo&#13;&#10; else&#13;&#10; echo &quot;Removing AudioComponents entry from Info.plist because this is not a new-format AU&quot;&#13;&#10; /usr/libexec/PlistBuddy -c &quot;Delete AudioComponents&quot; &quot;$AU/Contents/Info.plist&quot;&#13;&#10; fi&#13;&#10;fi&#13;&#10;&#13;&#10;if [ $copyVST -gt 0 ]; then&#13;&#10; echo &quot;Copying to VST folder...&quot;&#13;&#10; VST=~/Library/Audio/Plug-Ins/VST/$PRODUCT_NAME.vst&#13;&#10; if [ -d &quot;$VST&quot; ]; then &#13;&#10; rm -r &quot;$VST&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$VST&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$VST/Contents/PkgInfo&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$VST/Contents/$INFOPLIST_FILE&quot;&#13;&#10;fi&#13;&#10;&#13;&#10;if [ $copyVST3 -gt 0 ]; then&#13;&#10; echo &quot;Copying to VST3 folder...&quot;&#13;&#10; VST3=~/Library/Audio/Plug-Ins/VST3/$PRODUCT_NAME.vst3&#13;&#10; if [ -d &quot;$VST3&quot; ]; then &#13;&#10; rm -r &quot;$VST3&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$VST3&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$VST3/Contents/PkgInfo&quot;&#13;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$VST3/Contents/$INFOPLIST_FILE&quot;&#13;&#10;fi&#13;&#10;&#13;&#10;if [ $copyRTAS -gt 0 ]; then&#13;&#10; echo &quot;Copying to RTAS folder...&quot;&#13;&#10; RTAS=/Library/Application\ Support/Digidesign/Plug-Ins/$PRODUCT_NAME.dpm&#13;&#10; if [ -d &quot;$RTAS&quot; ]; then&#13;&#10; rm -r &quot;$RTAS&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$RTAS&quot;&#13;&#10;fi&#13;&#10;&#13;&#10;if [ $copyAAX -gt 0 ]; then&#13;&#10; echo &quot;Copying to AAX folder...&quot;&#13;&#10;&#13;&#10; if [ -d &quot;/Applications/ProTools_3PDev/Plug-Ins&quot; ]; then&#13;&#10; AAX1=&quot;/Applications/ProTools_3PDev/Plug-Ins/$PRODUCT_NAME.aaxplugin&quot;&#13;&#10;&#13;&#10; if [ -d &quot;$AAX1&quot; ]; then&#13;&#10; rm -r &quot;$AAX1&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$AAX1&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; if [ -d &quot;/Library/Application Support/Avid/Audio/Plug-Ins&quot; ]; then&#13;&#10; AAX2=&quot;/Library/Application Support/Avid/Audio/Plug-Ins/$PRODUCT_NAME.aaxplugin&quot;&#13;&#10;&#13;&#10; if [ -d &quot;$AAX2&quot; ]; then&#13;&#10; rm -r &quot;$AAX2&quot;&#13;&#10; fi&#13;&#10;&#13;&#10; cp -r &quot;$original&quot; &quot;$AAX2&quot;&#13;&#10; fi&#13;&#10;fi&#13;&#10;"
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/VST3 SDK" postbuildCommand=""
extraDefs="__MACOSX_CORE__" externalLibraries="chuck" extraLinkerFlags="-F/System/Library/PrivateFrameworks&#10;-weak_framework&#10;MultitouchSupport&#10;">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" osxSDK="default" osxCompatibility="10.10 SDK" osxArchitecture="default"
Expand All @@ -116,21 +116,21 @@
cppLanguageStandard="c++11" binaryPath=""/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_events" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_graphics" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_data_structures" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_gui_basics" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_gui_extra" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_cryptography" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_video" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_opengl" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_basics" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_devices" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_formats" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_processors" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_plugin_client" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_utils" path="../../../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_core" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_events" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_graphics" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_data_structures" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_gui_basics" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_gui_extra" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_cryptography" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_video" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_opengl" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_basics" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_devices" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_formats" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_processors" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_plugin_client" path="../../SDKs/JUCE/modules"/>
<MODULEPATH id="juce_audio_utils" path="../../SDKs/JUCE/modules"/>
</MODULEPATHS>
</XCODE_MAC>
</EXPORTFORMATS>
Expand Down
2 changes: 1 addition & 1 deletion JuceLibraryCode/AppConfig.h
Expand Up @@ -17,7 +17,7 @@
//==============================================================================
// [BEGIN_USER_CODE_SECTION]

// (You can add your own code in this section, and the Introjucer will not overwrite it)
// (You can add your own code in this section, and the Projucer will not overwrite it)

// [END_USER_CODE_SECTION]

Expand Down
Empty file modified JuceLibraryCode/BinaryData.cpp 100755 → 100644
Empty file.
Empty file modified JuceLibraryCode/BinaryData.h 100755 → 100644
Empty file.

0 comments on commit 64d5b12

Please sign in to comment.