Permalink
Browse files

Add guard.

  • Loading branch information...
1 parent 0799fd9 commit 39c3b052daa918a4ce516f17a48dcba4db579be6 @cmeiklejohn cmeiklejohn committed Sep 16, 2011
Showing with 17 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +7 −0 Gemfile.lock
  3. +8 −0 Guardfile
  4. BIN vendor/cache/guard-0.7.0.gem
  5. BIN vendor/cache/guard-cucumber-0.6.3.gem
View
@@ -32,6 +32,8 @@ end
group :development, :test do
gem 'silent-postgres'
+ gem 'guard'
+ gem 'guard-cucumber'
end
# These gems suck and do stupid things when in maintenance mode
View
@@ -86,6 +86,11 @@ GEM
gherkin (2.4.18)
json (>= 1.4.6)
gravtastic (3.2.6)
+ guard (0.7.0)
+ thor (~> 0.14.6)
+ guard-cucumber (0.6.3)
+ cucumber (>= 0.10)
+ guard (>= 0.4.0)
high_voltage (1.0.1)
hoptoad_notifier (2.4.11)
activesupport
@@ -200,6 +205,8 @@ DEPENDENCIES
fog
gchartrb
gravtastic
+ guard
+ guard-cucumber
high_voltage
hoptoad_notifier
jruby-openssl
View
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'cucumber' do
+ watch(%r{^features/.+\.feature$})
+ watch(%r{^features/support/.+$}) { 'features' }
+ watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
+end
Binary file not shown.
Binary file not shown.

0 comments on commit 39c3b05

Please sign in to comment.