Sha256: acbb529dbe41dbe59d90f175f97e94546c316c60b2c3f93f5d03670d4dc62e6f
Contents?: true
Size: 802 Bytes
Versions: 8
Compression:
Stored size: 802 Bytes
Contents
guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/phut/.+_spec\.rb$}) watch(%r{^lib/phut/(.+)\.rb$}) { |m| "spec/phut/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' } end guard :bundler do watch('Gemfile') watch(/^.+\.gemspec/) end guard :rubocop, all_on_start: false do watch('Gemfile') watch('Guardfile') watch('Rakefile') watch('bin/phut') watch(/.+\.rake$/) watch(/.+\.rb$/) watch(/{(?:.+\/)?\.rubocop\.yml$/) { |m| File.dirname(m[0]) } end guard 'cucumber', cli: '--tags ~@sudo --tags ~@shell' do watch('bin/phut') { 'features' } watch(/^features\/.+\.feature$/) watch(%r{^features/support/.+$}) { 'features' } watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' end end
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
phut-0.4.0 | Guardfile |
phut-0.3.1 | Guardfile |
phut-0.3.0 | Guardfile |
phut-0.2.4 | Guardfile |
phut-0.2.3 | Guardfile |
phut-0.2.2 | Guardfile |
phut-0.2.0 | Guardfile |
phut-0.1.0 | Guardfile |