Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Generate Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dtan4 committed Mar 29, 2015
1 parent e6a94c1 commit 8d087c6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
guard :rspec, cmd: "bundle exec rspec" do
require "guard/rspec/dsl"
dsl = Guard::RSpec::Dsl.new(self)

rspec = dsl.rspec
watch(rspec.spec_helper) { rspec.spec_dir }
watch(rspec.spec_support) { rspec.spec_dir }
watch(rspec.spec_files)

ruby = dsl.ruby
dsl.watch_spec_files_for(ruby.lib_files)
end

0 comments on commit 8d087c6

Please sign in to comment.