Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding guard to moped

  • Loading branch information...
commit 0e244d70e76285c834a6d9a788bfb36230bfce56 1 parent c183737
@durran durran authored
Showing with 10 additions and 0 deletions.
  1. +9 −0 Guardfile
  2. +1 −0  moped.gemspec
View
9 Guardfile
@@ -0,0 +1,9 @@
+# vim:set filetype=ruby:
+guard(
+ "rspec",
+ all_after_pass: false,
+ cli: "--fail-fast --tty --format documentation --colour") do
+
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
+end
View
1  moped.gemspec
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
s.description = s.summary
s.add_development_dependency "rspec"
+ s.add_development_dependency "guard-rspec"
s.files = Dir.glob("lib/**/*") + %w(README.md)
s.require_path = "lib"
Please sign in to comment.
Something went wrong with that request. Please try again.