Sha256: bec65d4b30d7a8774d9d5363191742beae50d2a3ce6506f3adfa96bcaa0f5bc9
Contents?: true
Size: 765 Bytes
Versions: 5
Compression:
Stored size: 765 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard :minitest do watch(%r{^test/(.*)\/?test_(.*)\.rb$}) watch(%r{^lib/(.*/?[^/]+)\.rb$}) { |m| "test/#{m[1]}_test.rb" } watch(%r{^test/test_helper\.rb$}) { 'test' } end guard 'rake', task: 'flay' do watch(%r{^lib/.*/?[^/]+\.rb$}) end # guard 'rake', task: 'flog', run_on_all: true, run_on_start: true do # # watch(%r{^lib/.*/?[^/]+\.rb$}) # end guard :shell do watch(%r{^lib/.*/?[^/]+\.rb$}) { |m| "bin/flog -adm #{m[0]}" } watch(%r{^lib/.*/?[^/]+\.rb$}) { |m| "bin/reek -c config.reek --sort-by smelliness #{m[0]}" } watch(%r{^lib/.*/?[^/]+\.rb$}) { |m| "bin/inch list #{m[0]}" } end guard :rubocop do watch(%r{^lib/crypt_ident/.*?[^/]+\.rb$}) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
crypt_ident-0.2.7 | Guardfile |
crypt_ident-0.2.6 | Guardfile |
crypt_ident-0.2.5 | Guardfile |
crypt_ident-0.2.2 | Guardfile |
crypt_ident-0.2.1 | Guardfile |