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

Configured Guard for auto-running specs.

parent ffbf18f6
......@@ -3,4 +3,8 @@ source "http://rubygems.org"
group :development do
gem "rake"
gem "bacon"
gem "guard"
gem "guard-bacon"
gem "rb-fsevent"
gem "growl"
end
......@@ -2,11 +2,26 @@ GEM
remote: http://rubygems.org/
specs:
bacon (1.1.0)
growl (1.0.3)
guard (0.8.8)
thor (~> 0.14.6)
guard-bacon (1.0.2)
guard (~> 0.8.4)
schmurfy-bacon (~> 1.2)
rake (0.9.2.2)
rb-fsevent (0.9.0)
schmurfy-bacon (1.2.1)
term-ansicolor
term-ansicolor (1.0.7)
thor (0.14.6)
PLATFORMS
ruby
DEPENDENCIES
bacon
growl
guard
guard-bacon
rake
rb-fsevent
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
# parameters:
# output => the formatted to use
# backtrace => number of lines, nil = everything
guard 'bacon', :output => "BetterOutput", :backtrace => 4 do
watch(%r{^lib/cocoapods/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
watch(%r{spec/.+\.rb$})
end
......@@ -14,11 +14,12 @@ module Pod
autoload :Platform, 'cocoapods/platform'
autoload :Podfile, 'cocoapods/podfile'
autoload :Resolver, 'cocoapods/resolver'
autoload :Sandbox, 'cocoapods/sandbox'
autoload :Source, 'cocoapods/source'
autoload :Spec, 'cocoapods/specification'
autoload :Specification, 'cocoapods/specification'
autoload :Version, 'cocoapods/version'
autoload :Pathname, 'pathname'
autoload :FileList, 'cocoapods/file_list'
......
......@@ -23,6 +23,7 @@ module Pod
def initialize(podfile)
@podfile = podfile
@sandbox = Sandbox.new(config.project_pods_root)
end
def lock_file
......
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