Skip to content

Commit

Permalink
Merge remote branch 'remotes/mtodd/rakefile'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnewart committed Apr 11, 2011
2 parents c073d7b + 796b6a2 commit 9ae7b41
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Rakefile
@@ -0,0 +1,17 @@
require "rubygems"
require "bundler"
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
t.pattern = 'spec/**/*_spec.rb'
end

task :default => :spec

0 comments on commit 9ae7b41

Please sign in to comment.