Sha256: 7f7ef1e5d9571cedbc2f60339f6cbfe1925471c761c6b66f86944cb9101c2cda

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

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) \
#  .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}

## Note: if you are using the `directories` clause above and you are not
## watching the project directory ('.'), then you will want to move
## the Guardfile to a watched dir and symlink it back, e.g.
#
#  $ mkdir config
#  $ mv Guardfile config/
#  $ ln -s config/Guardfile .
#
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"

guard :minitest, :test_folders => ['test/ting_yun'], :all_after_pass => false do
  # with Minitest::Unit
  watch(%r{^lib/(.+)\.rb$})     { |m| "test/#{m[1]}_test.rb" }
  watch(%r{^test/.+_test\.rb$})
  watch('test/test_helper.rb')  { "test/tingyun" }
  watch('test/agent_helper.rb') { "test/tingyun" }

end

guard "rubycritic" do
  watch(%r{^app/(.+)\.rb$})
  watch(%r{^lib/(.+)\.rb$})
end

# A sample Guardfile
# More info at https://github.com/guard/guard#readme


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 Guardfile
tingyun_rpm-1.6.1 Guardfile
tingyun_rpm-1.5.0 Guardfile
tingyun_rpm-1.4.2 Guardfile
tingyun_rpm-1.4.1 Guardfile
tingyun_rpm-1.3.1 Guardfile
tingyun_rpm-1.3.0 Guardfile
tingyun_rpm-1.2.0 Guardfile