Skip to content

Commit

Permalink
Guardify
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 21, 2015
1 parent cd04660 commit ec28e62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
directories %w(lib spec)
clearing :on

guard :rspec, cmd: "bundle exec rspec" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" }
end

0 comments on commit ec28e62

Please sign in to comment.