Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.687 kb
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/'
# Hold your breath, we're going API spelunking!
spec_files = app.spec_files + Dir.glob(File.join(app.specs_dir, '**/*.rb'))
spec_files.uniq!
app.instance_variable_set(:@spec_files, spec_files)
end
namespace :spec do
task :lib do
sh "bacon #{Dir.glob("spec/lib/**/*_spec.rb").join(' ')}"
end
task :motion => 'spec'
task :all => [:lib, :motion]
end
Jump to Line
Something went wrong with that request. Please try again.