Skip to content

Instantly share code, notes, and snippets.

@sohocoke
Created June 19, 2012 22:11
Show Gist options
  • Save sohocoke/2956822 to your computer and use it in GitHub Desktop.
Save sohocoke/2956822 to your computer and use it in GitHub Desktop.
BubbleWrap rakefile with spec:kvo that fails
require "bundler/gem_tasks"
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
Bundler.setup
Bundler.require
require 'bubble-wrap/all'
require 'bubble-wrap/test'
Motion::Project::App.setup do |app|
app.name = 'testSuite'
app.identifier = 'io.bubblewrap.testSuite'
app.specs_dir = './spec/motion'
end
namespace :spec do
task :lib do
sh "bacon #{Dir.glob("spec/lib/**/*_spec.rb").join(' ')}"
end
task :motion => 'spec'
task :all => [:lib, :motion]
task :kvo do
sh "bacon #{Dir.glob("spec/motion/core/kvo_spec.rb")}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment