require 'rbuild-bundle' build_bundle(:bundle_name => 'Dawn.app', :resources_directories => ['Resources', '../GameShell/Resources'], :info_plist_file => 'Info.plist') build(:targets => ['Dawn.app/Contents/MacOS/Dawn'], :dependencies => ['../RubyGameShellCommon/RubyGameShellCommon'], :command => 'cp ../RubyGameShellCommon/RubyGameShellCommon "Dawn.app/Contents/MacOS/Dawn"', :message => 'Copying RubyGameShellCommon Executable') build(:targets => ['Dawn.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 "Dawn.app"/Contents/Frameworks/', :message => 'Copying OpenAL Framework')