Permalink
Browse files

.watchr is removed

  • Loading branch information...
romanvbabenko committed Oct 16, 2013
1 parent bbc5d56 commit c99fd6621581857b303793cfe962552ec18ee90e
Showing with 0 additions and 13 deletions.
  1. +0 −13 .watchr.example
View
@@ -1,13 +0,0 @@
-ROOT_PATH = File.dirname(__FILE__)
-
-def run_spec(file)
- system "rspec #{file}" if File.exist?(File.join(ROOT_PATH, file))
-end
-
-watch('spec/.*_spec\.rb') {|m| run_spec m[0] }
-watch('spec/notes/.*_spec\.rb') {|m| run_spec m[0] }
-
-watch('lib/rails-footnotes/(.*)\.rb') {|m| run_spec("spec/#{m[1]}_spec.rb") }
-watch('lib/rails-footnotes/notes/.*_note\.rb') {|m| run_spec("spec/notes/#{m[1]}") }
-
-watch('Gemfile') {|m| run_spec("spec") }

0 comments on commit c99fd66

Please sign in to comment.