Skip to content

Commit

Permalink
added focus profile and made that the guard profile
Browse files Browse the repository at this point in the history
  • Loading branch information
cheezy committed Aug 20, 2012
1 parent bbfb3a8 commit e2bb4e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'cucumber', :notification => true, :all_after_pass => true, :cli => '--profile default' do
guard 'cucumber', :notification => true, :all_after_pass => true, :cli => '--profile focus' 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' }
Expand Down
1 change: 1 addition & 0 deletions cucumber.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
default: --no-source --color --format pretty
focus: --no-source --color --format pretty --tags @focus

0 comments on commit e2bb4e5

Please sign in to comment.