diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-08-16 14:30:44 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-08-16 14:30:44 +0200 |
commit | 0b5783119f9577ae6b7506836c384a541854979d (patch) | |
tree | 0c47436a28101bb83511789c5befc9199ae07b4f /Guardfile | |
parent | cb33279a0f36f2c6a70d5ecf00bbd8749b92c51b (diff) | |
download | gitlab-ce-0b5783119f9577ae6b7506836c384a541854979d.tar.gz |
Updated the spring gem and fixed the guard file
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Guardfile b/Guardfile index e19a312377d..68ac3232b09 100644 --- a/Guardfile +++ b/Guardfile @@ -1,7 +1,7 @@ # A sample Guardfile # More info at https://github.com/guard/guard#readme -guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_pass: false do +guard 'rspec', cmd: "spring rspec", all_on_start: false, all_after_pass: false do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" } @@ -19,7 +19,7 @@ guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_p watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" } end -guard 'spinach' do +guard 'spinach', command_prefix: 'spring' do watch(%r|^features/(.*)\.feature|) watch(%r|^features/steps/(.*)([^/]+)\.rb|) do |m| "features/#{m[1]}#{m[2]}.feature" |