Sha256: ae444e9e2aab76acffc71faa28d6c95605b599133de2f3e0fd604735288ab1a7

Contents?: true

Size: 640 Bytes

Versions: 3

Compression:

Stored size: 640 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(lib spec)

notification :tmux,
  display_message: true,
  timeout: 5, # in seconds
  default_message_format: '%s >> %s',
  line_separator: ' > ', # since we are single line we need a separator
  color_location: %w[status-left-bg pane-active-border-fg ]

guard :rspec, all_on_start: false, all_after_pass: false, cmd: 'rspec' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/pt/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ipt-2.1.0 Guardfile
ipt-1.0.1 Guardfile
ipt-1.0.0 Guardfile