Sha256: 5f935571235808f71d9bb44c238b3698540d9afcd2586838b398f985a462067c

Contents?: true

Size: 940 Bytes

Versions: 9

Compression:

Stored size: 940 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) \
#  .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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tingyun_rpm-1.1.4.2 Guardfile
tingyun_rpm-1.1.4.1 Guardfile
tingyun_rpm-1.1.4 Guardfile
tingyun_rpm-1.1.3 Guardfile
tingyun_rpm-1.1.2 Guardfile
tingyun_rpm-1.1.1 Guardfile
tingyun_rpm-1.1.0 Guardfile
tingyun_rpm-1.0.7 Guardfile
tingyun_rpm-1.0.6 Guardfile