require 'rbuild-bundle' build_bundle(:bundle_name => 'OBJ.app', :resources_directory => 'Resources') build(:targets => ['OBJ.app/Contents/MacOS/OBJ'], :dependencies => ['../RubyGameCommon/RubyGameCommon'], :command => 'cp ../RubyGameCommon/RubyGameCommon OBJ.app/Contents/MacOS/OBJ', :message => 'Copying RubyGameCommon Executable') build(:targets => ['OBJ.app/Contents/Frameworks/OpenAL.framework'], :dependencies => ['../RubyGameCommon/External/openal/macosx/build/OpenAL.framework'], :command => 'cp -r ../RubyGameCommon/External/openal/macosx/build/OpenAL.framework OBJ.app/Contents/Frameworks/', :message => 'Copying OpenAL Framework')