Commits

Michael Granger  committed 2f23ed3

Add a 'specs' task to the Rakefile for rvm, and ignore .rbc files.

  • Participants
  • Parent commits 1555e30

Comments (0)

Files changed (2)

+\.rbc$
 # Ensure the specs pass before checking in
 task 'hg:precheckin' => :spec
 
+# Make testing under rvm rubies a bit easier^h^h^h^h^h^hlazier
+RSpec::Core::RakeTask.new( :specs ) do |t|
+	t.rspec_opts = [ '-fp' ]
+	t.rspec_opts << "-I#{hoespec.rspec_dirs.join(":")}" unless
+		hoespec.rspec_dirs.empty?
+end
+
 begin
 	include Hoe::MercurialHelpers