Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added guard support for tunning tests

  • Loading branch information...
commit 1994c3f0959e2c73168715210626761985f73b95 1 parent 804bf24
@schmurfy schmurfy authored
Showing with 17 additions and 0 deletions.
  1. +8 −0 Guardfile
  2. +9 −0 goliath.gemspec
View
8 Guardfile
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/goliath/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
+end
+
View
9 goliath.gemspec
@@ -41,6 +41,15 @@ Gem::Specification.new do |s|
s.add_development_dependency 'haml', '>=3.0.25'
s.add_development_dependency 'yard'
s.add_development_dependency 'bluecloth'
+
+ s.add_development_dependency 'guard', '~> 0.8.8'
+ s.add_development_dependency 'guard-rspec', '~> 0.5.9'
+
+ if RUBY_PLATFORM.include?('darwin')
+ s.add_development_dependency 'growl', '~> 1.0.3'
+ s.add_development_dependency 'rb-fsevent', '0.4.3.1'
+ end
+
ignores = File.readlines(".gitignore").grep(/\S+/).map {|s| s.chomp }
dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopts"]
Please sign in to comment.
Something went wrong with that request. Please try again.