Skip to content

Commit

Permalink
Include guard-cucumber for auto cuking.
Browse files Browse the repository at this point in the history
  • Loading branch information
aimee daniells committed Sep 5, 2011
1 parent 7ad3b47 commit 454bb11
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ source :rubygems
gem 'rspec'
gem 'cucumber'
gem 'guard-rspec'
gem 'guard-cucumber'
gem 'growl_notify'
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ GEM
diff-lcs (1.1.2)
gherkin (2.4.1)
json (>= 1.4.6)
growl_notify (0.0.1)
rb-appscript
guard (0.6.3)
thor (~> 0.14.6)
guard-cucumber (0.6.2)
cucumber (>= 0.10)
guard (>= 0.4.0)
guard-rspec (0.4.4)
guard (>= 0.4.0)
json (1.5.3)
rb-appscript (0.6.1)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
Expand All @@ -32,5 +38,7 @@ PLATFORMS

DEPENDENCIES
cucumber
growl_notify
guard-cucumber
guard-rspec
rspec
8 changes: 7 additions & 1 deletion Guardfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
guard 'rspec', :version => 2 do
guard 'rspec', version: 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec/" }
end

guard 'cucumber', cli: '--profile guard' 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
1 change: 1 addition & 0 deletions cucumber.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
wip: --tags @wip:3 --wip features
guard: --tags @wip --format progress --wip features

0 comments on commit 454bb11

Please sign in to comment.