From e2bb4e5f088cc73c5fb68a4956bbafc8fb6578ba Mon Sep 17 00:00:00 2001 From: "Jeffrey S. Morgan" Date: Mon, 20 Aug 2012 19:35:11 -0400 Subject: [PATCH] added focus profile and made that the guard profile --- Guardfile | 2 +- cucumber.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 5b076c9..4253568 100644 --- a/Guardfile +++ b/Guardfile @@ -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' } diff --git a/cucumber.yml b/cucumber.yml index 75e5277..67b2404 100644 --- a/cucumber.yml +++ b/cucumber.yml @@ -1,2 +1,3 @@ default: --no-source --color --format pretty +focus: --no-source --color --format pretty --tags @focus