Permalink
Browse files

Added testing rake tasks for convenience

  • Loading branch information...
mloughran committed Sep 20, 2011
1 parent 8ec4dca commit c692fcac19f7793c4183a50f53d0f99bf86b9724
Showing with 10 additions and 0 deletions.
  1. +9 −0 Rakefile
  2. +1 −0 juggler.gemspec
View
@@ -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
View
@@ -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")

0 comments on commit c692fca

Please sign in to comment.