Sha256: 1503a60a9f09fafcf4f4c6c5507ecd48b9d5694d89d7e1b2158151c3965207ea
Contents?: true
Size: 703 Bytes
Versions: 4
Compression:
Stored size: 703 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme # notification :terminal_notifier, app_name: "ftools" notification :tmux, display_message: false guard 'cucumber' do watch(%r{^features/.+\.feature$}) watch(%r{^features/support/.+$}) { 'features' } watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/{m[1]}.feature")][0] || 'features' } watch(%r{^bin/(.+)$}) { |m| "features/#{m[1]}.feature" } end guard :rspec, cmd: "bundle exec rspec" do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^bin/(.+)$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
phtools-0.2.4 | Guardfile |
phtools-0.1.3 | Guardfile |
phtools-0.1.2 | Guardfile |
phtools-0.1.1 | Guardfile |