Skip to content

Instantly share code, notes, and snippets.

@matschaffer
Created February 21, 2009 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matschaffer/67888 to your computer and use it in GitHub Desktop.
Save matschaffer/67888 to your computer and use it in GitHub Desktop.
void Init_RubyTesting() { } // For RubyCocoa bridge
require "rubygems"
require "rake"
Dir['tasks/**/*.rake'].each { |rake| load rake }
namespace :objc do
desc "Compiles all Objective-C bundles for testing"
task :compile do
directory 'build'
sh "gcc -o build/RubyTesting.bundle -bundle -framework Foundation test/bridge.m Classes/Models/*.m"
end
end
task :compile => 'objc:compile'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment