Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Rakefile for specs

  • Loading branch information...
commit 91de04ebc567355128ef49c58add55c9e1946b2d 1 parent 517daf7
@skade skade authored
Showing with 13 additions and 0 deletions.
  1. +2 −0  Gemfile.lock
  2. +10 −0 Rakefile
  3. +1 −0  slanger.gemspec
View
2  Gemfile.lock
@@ -58,6 +58,7 @@ GEM
signature (~> 0.1.2)
rack (1.3.5)
rack-fiber_pool (0.9.1)
+ rake (0.9.2.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -87,5 +88,6 @@ DEPENDENCIES
debugger
haml (~> 3.1.2)
pusher (~> 0.8.2)
+ rake
rspec (~> 2.6.0)
slanger!
View
10 Rakefile
@@ -0,0 +1,10 @@
+require 'rspec/core/rake_task'
+
+desc 'Default: run specs.'
+task :default => :spec
+
+desc "Run specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
+ # Put spec opts in a file named .rspec in root
+end
View
1  slanger.gemspec
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec', '~> 2.6.0'
s.add_development_dependency 'pusher', '~> 0.8.2'
s.add_development_dependency 'haml', '~> 3.1.2'
+ s.add_development_dependency 'rake'
s.add_development_dependency 'debugger'
s.files = Dir['README.md', 'lib/**/*', 'slanger.rb']
Please sign in to comment.
Something went wrong with that request. Please try again.