Guardfile in gmaps4rails-1.5.0.pre vs Guardfile in gmaps4rails-1.5.0.pre2
- old
+ new
@@ -1,38 +1,24 @@
-# A sample Guardfile
-# More info at https://github.com/guard/guard#readme
-
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb')
watch('config/environment.rb')
watch(%r{^config/environments/.+\.rb$})
watch(%r{^config/initializers/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb') { :rspec }
end
-
guard 'rspec', :cli => "-c -f d", :all_on_start => false, :all_after_pass => false do
watch(%r{^spec/.+_spec\.rb$})
watch('spec/launchers/all_specs.rb') { "spec" }
- watch('spec/launchers/all_but_requests.rb') { ["spec/base", "spec/helpers", "spec/models", "spec/views"] }
+ watch('spec/launchers/all_but_requests.rb') { ["spec/base", "spec/helpers", "spec/models", "spec/views", "spec/javascripts"] }
watch('spec/launchers/requests.rb') { "spec/requests" }
end
guard 'jasmine', :jasmine_url => 'http://localhost:8888/', :all_on_start => false, :all_after_pass => false do
watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { "spec/javascripts" }
watch(%r{^spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$}) { "spec/javascripts" }
watch(%r{^spec/javascripts/.+_spec\.js$}) { "spec/javascripts" }
end
-
-#--drb
-
-guard 'coffeescript', :input => 'app/assets/javascripts/gmaps4rails', :output => 'public/javascripts/gmaps4rails'
-
-#
-#guard 'coffeescript', :input => 'spec/javascripts/coffee', :output => 'spec/javascripts'
-
-# do
-# watch(/^app\/assets\/javascripts\/gmaps4rails\/(.*).coffee/)
-# end
+guard 'coffeescript', :input => 'app/assets/javascripts/gmaps4rails', :output => 'public/javascripts/gmaps4rails'
\ No newline at end of file