Created
February 21, 2009 04:28
-
-
Save matschaffer/67888 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Init_RubyTesting() { } // For RubyCocoa bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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