Skip to content
代码片段 群组 项目
提交 bdb960ed 编辑于 作者: Tiger's avatar Tiger
浏览文件

Allow custom Guard command

上级 4d2f9137
No related branches found
No related tags found
无相关合并请求
......@@ -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"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册