Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
Update Rakefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
aflatter committed Jun 30, 2010
1 parent 398cced commit b02ef96
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions oauth2-core/Rakefile
@@ -1,3 +1,12 @@
require 'rspec/core/rake_task'
require "rubygems"

Rspec::Core::RakeTask.new(:spec)
begin
require 'rspec/core/rake_task'
rescue LoadError
raise 'RSpec could not be loaded. Run `bundle install` to get all development dependencies.'
else
RSpec::Core::RakeTask.new(:spec) do |t|
t.warning = false
end
task :default => :spec
end
13 changes: 11 additions & 2 deletions oauth2-server/Rakefile
@@ -1,3 +1,12 @@
require 'rspec/core/rake_task'
require "rubygems"

Rspec::Core::RakeTask.new(:spec)
begin
require 'rspec/core/rake_task'
rescue LoadError
raise 'RSpec could not be loaded. Run `bundle install` to get all development dependencies.'
else
RSpec::Core::RakeTask.new(:spec) do |t|
t.warning = false
end
task :default => :spec
end

0 comments on commit b02ef96

Please sign in to comment.