Sha256: c2f8a23d5330da605fbf4d4bdecf04c46678f5c7e44e3b55b4f0de81cbce40e0
Contents?: true
Size: 581 Bytes
Versions: 71
Compression:
Stored size: 581 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard :rspec, cmd: "bundle exec rspec" do require "guard/rspec/dsl" dsl = Guard::RSpec::Dsl.new(self) # 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) end # Add files and commands to this file, like the example: # watch(%r{file/path}) { `command(s)` } # guard :shell do watch(/(.*).md/) {|m| `tail #{m[0]}` } end
Version data entries
71 entries across 71 versions & 1 rubygems