require 'rbuild-bundle' build_bundle(:bundle_name => 'CubesAndSpheres.app', :resources_directories => ['Resources', '../GameShell/Resources'], :info_plist_file => 'Info.plist') build(:targets => ['CubesAndSpheres.app/Contents/MacOS/CubesAndSpheres'], :dependencies => ['../RubyGameShellCommon/RubyGameShellCommon'], :command => 'cp ../RubyGameShellCommon/RubyGameShellCommon "CubesAndSpheres.app/Contents/MacOS/CubesAndSpheres"', :message => 'Copying RubyGameShellCommon Executable') build(:targets => ['CubesAndSpheres.app/Contents/Frameworks/OpenAL.framework'], :dependencies => ['../Thirdparty/Root/universal/Frameworks/OpenAL.framework'], :command => 'tar --directory ../Thirdparty/Root/universal/Frameworks -c OpenAL.framework | tar -x --directory "CubesAndSpheres.app"/Contents/Frameworks/', :message => 'Copying OpenAL Framework')