if RUBY_PLATFORM =~ /darwin/ then require 'rbuild-bundle' build_bundle(:bundle_name => 'RubyFreeTypeOpenGLTest.app', :resources_directory => 'Resources') build(:targets => ['RubyFreeTypeOpenGLTest.app/Contents/MacOS/RubyFreeTypeOpenGLTest'], :dependencies => ['../RubyGameCommon/RubyGameCommon'], :command => 'cp ../RubyGameCommon/RubyGameCommon RubyFreeTypeOpenGLTest.app/Contents/MacOS/RubyFreeTypeOpenGLTest', :message => 'Copying RubyGameCommon Executable') else build(:targets => ['RubyFreeTypeOpenGLTest'], :dependencies => ['../RubyGameCommon/RubyGameCommon'], :command => 'cp ../RubyGameCommon/RubyGameCommon RubyFreeTypeOpenGLTest', :message => 'Copying RubyGameCommon Executable') end