Cleaned Guardfile
This commit is contained in:
parent
309d7f6aa4
commit
1b6207257c
20
Guardfile
20
Guardfile
@ -1,25 +1,5 @@
|
||||
# guard 'spork', :rspec_port => 9010 do
|
||||
# watch('^config/initializers/.*')
|
||||
# end
|
||||
|
||||
def super
|
||||
`say yo`
|
||||
end
|
||||
|
||||
guard 'rspec', :version => 2 do
|
||||
watch('^spec/(.*)_spec.rb')
|
||||
watch('^lib/(.*).rb') { |m| "spec/#{m[1]}_spec.rb" }
|
||||
watch('^spec/spec_helper.rb') { "spec" }
|
||||
# watch('^spec/spec_helper.rb') { `say hello` }
|
||||
# watch('^spec/(.*)_spec\.rb')
|
||||
# watch('^app/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
|
||||
# watch('^app/(.*)\.html.erb') { |m| "spec/#{m[1]}_spec.rb" }
|
||||
# watch('^lib/(.*)\.rb') { |m| "spec/lib/#{m[1]}_spec.rb" }
|
||||
# watch('^spec/spec_helper\.rb') { |m| "spec" }
|
||||
# watch('^config/routes\.rb') { |m| "spec/routing" }
|
||||
# watch('^spec/factories\.rb') { |m| "spec/model" }
|
||||
# watch('^app/controllers/application_controller\.rb') { |m| "spec/controllers" }
|
||||
end
|
||||
|
||||
# guard 'livereload' do
|
||||
# end
|
@ -12,6 +12,7 @@ Gem::Specification.new do |s|
|
||||
s.summary = 'Guard keep an eye on your files event'
|
||||
s.description = 'Guard is a command line tool to easly manage script launch when your files change'
|
||||
|
||||
s.required_rubygems_version = '>= 1.3.6'
|
||||
s.rubyforge_project = 'guard'
|
||||
|
||||
s.add_development_dependency 'bundler', '~> 1.0.1'
|
||||
|
Loading…
Reference in New Issue
Block a user