Commit 63ace8fe authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'custom-guard-command' into 'master'

Allow custom Guard command

See merge request gitlab-org/gitlab!23947
parents 795f6a69 bdb960ed
......@@ -2,7 +2,7 @@
# More info at https://github.com/guard/guard#readme
cmd = ENV['SPRING'] ? 'spring rspec' : 'bundle exec rspec'
cmd = ENV['GUARD_CMD'] || (ENV['SPRING'] ? 'spring rspec' : 'bundle exec rspec')
guard :rspec, cmd: cmd do
require "guard/rspec/dsl"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment