Commit 4bd63675 authored by Luke Redpath's avatar Luke Redpath

guard-bacon wasn't really working out for me, just run it using guard-shell instead.

parent e2819ac3
...@@ -4,7 +4,7 @@ group :development do ...@@ -4,7 +4,7 @@ group :development do
gem "rake" gem "rake"
gem "bacon" gem "bacon"
gem "guard" gem "guard"
gem "guard-bacon" gem "guard-shell"
gem "rb-fsevent" gem "rb-fsevent"
gem "growl" gem "growl"
gem "mocha-on-bacon" gem "mocha-on-bacon"
......
...@@ -5,9 +5,8 @@ GEM ...@@ -5,9 +5,8 @@ GEM
growl (1.0.3) growl (1.0.3)
guard (0.8.8) guard (0.8.8)
thor (~> 0.14.6) thor (~> 0.14.6)
guard-bacon (1.0.2) guard-shell (0.3.0)
guard (~> 0.8.4) guard (>= 0.2.0)
schmurfy-bacon (~> 1.2)
metaclass (0.0.1) metaclass (0.0.1)
mocha (0.10.4) mocha (0.10.4)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
...@@ -15,9 +14,6 @@ GEM ...@@ -15,9 +14,6 @@ GEM
mocha (>= 0.9.8) mocha (>= 0.9.8)
rake (0.9.2.2) rake (0.9.2.2)
rb-fsevent (0.9.0) rb-fsevent (0.9.0)
schmurfy-bacon (1.2.1)
term-ansicolor
term-ansicolor (1.0.7)
thor (0.14.6) thor (0.14.6)
PLATFORMS PLATFORMS
...@@ -27,7 +23,7 @@ DEPENDENCIES ...@@ -27,7 +23,7 @@ DEPENDENCIES
bacon bacon
growl growl
guard guard
guard-bacon guard-shell
mocha-on-bacon mocha-on-bacon
rake rake
rb-fsevent rb-fsevent
# A sample Guardfile # A sample Guardfile
# More info at https://github.com/guard/guard#readme # More info at https://github.com/guard/guard#readme
def run_spec(s)
`bundle exec bacon #{s}`
end
# parameters: # parameters:
# output => the formatted to use # output => the formatted to use
# backtrace => number of lines, nil = everything # backtrace => number of lines, nil = everything
guard 'bacon', :output => "BetterOutput", :backtrace => 4 do guard :shell do
watch(%r{^lib/cocoapods/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" } watch(%r{^lib/cocoapods/(.+)\.rb$}) { |m| run_spec("spec/unit/#{m[1]}_spec.rb") }
watch(%r{spec/.+\.rb$}) watch(%r{spec/.+\.rb$}) { |s| run_spec(s) }
end end
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