Skip to content

Commit

Permalink
Added testing rake tasks for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
mloughran committed Sep 20, 2011
1 parent 8ec4dca commit c692fca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rakefile
@@ -1 +1,10 @@
require "bundler/gem_tasks"

require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec) do |s|
s.pattern = 'spec/**/*.rb'
end

task :default => :spec
task :test => :spec
1 change: 1 addition & 0 deletions juggler.gemspec
Expand Up @@ -12,6 +12,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "em-jack", "~> 0.1.0"

s.add_development_dependency "em-spec"
s.add_development_dependency "rake"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit c692fca

Please sign in to comment.