Sha256: 908d9d8f68a47cc13bc4649f6389a4a8c9bf65d719a890a38c90f92a22746852

Contents?: true

Size: 733 Bytes

Versions: 18

Compression:

Stored size: 733 Bytes

Contents

# Guardfile
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 => 'status-left-bg' # to customize which tmux element will change color

guard 'rspec' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('lib/mohawk/accessors.rb')     { |m| "spec/lib/mohawk/accessors" }
  watch(%r{^lib/mohawk/(.+)\.rb$})     { |m| "spec/lib/mohawk/#{m[1]}_spec.rb" }
  watch(%r{^lib/mohawk/accessors/(.+)\.rb$})     { |m| "spec/lib/mohawk/accessors/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mohawk-1.0 Guardfile
mohawk-0.4.4 Guardfile
mohawk-0.4.3 Guardfile
mohawk-0.4.2 Guardfile
mohawk-0.4.1 Guardfile
mohawk-0.4 Guardfile
mohawk-0.3 Guardfile
mohawk-0.2.1 Guardfile
mohawk-0.2 Guardfile
mohawk-0.1.4 Guardfile
mohawk-0.1.0 Guardfile
mohawk-0.0.9 Guardfile
mohawk-0.0.8 Guardfile
mohawk-0.0.7 Guardfile
mohawk-0.0.6 Guardfile
mohawk-0.0.5 Guardfile
mohawk-0.0.4 Guardfile
mohawk-0.0.3 Guardfile