Sha256: a56e0d56aa012387d5a4e27a760dee883ee04c0e56026b896389cbcb19e25799
Contents?: true
Size: 712 Bytes
Versions: 18
Compression:
Stored size: 712 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme ## Uncomment and set this to only include directories you want to watch # directories %w(app lib config test spec features) ## Uncomment to clear the screen before every task # clearing :on guard :rspec, cmd: "bundle exec rspec" do require "guard/rspec/dsl" dsl = Guard::RSpec::Dsl.new(self) # Feel free to open issues for suggestions and improvements # RSpec files rspec = dsl.rspec watch(rspec.spec_helper) { rspec.spec_dir } watch(rspec.spec_support) { rspec.spec_dir } watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) watch(%r{^lib/(.+)\.rb$}) { "spec" } end
Version data entries
18 entries across 18 versions & 1 rubygems