Skip to content

Commit

Permalink
Remove Guard dependencies. Use rake spec:kick for auto-test-running.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Mar 26, 2012
1 parent d66e82a commit 97840d4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 27 deletions.
11 changes: 11 additions & 0 deletions .kick
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ process do |files|
end
Kicker::Recipes::Ruby.run_tests(specs)
end

# Have written this so many times, probably should make a recipe out of it.
process do |files|
files.each do |file|
case file
when 'Gemfile'
files.delete(file)
execute 'bundle install'
end
end
end
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ group :development do
gem "xcodeproj", :git => "git://github.com/CocoaPods/Xcodeproj.git"

gem "bacon"
gem "guard"
gem "guard-shell"
gem "growl"
gem "kicker"
gem "mocha-on-bacon"
gem "rake"
Expand Down
9 changes: 0 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ GEM
addressable (2.2.7)
bacon (1.1.0)
crack (0.3.1)
growl (1.0.3)
guard (0.8.8)
thor (~> 0.14.6)
guard-shell (0.3.0)
guard (>= 0.2.0)
kicker (2.5.0)
rb-fsevent
metaclass (0.0.1)
Expand All @@ -25,7 +20,6 @@ GEM
open4 (1.3.0)
rake (0.9.2.2)
rb-fsevent (0.9.0)
thor (0.14.6)
vcr (2.0.0)
webmock (1.8.0)
addressable (>= 2.2.7)
Expand All @@ -36,9 +30,6 @@ PLATFORMS

DEPENDENCIES
bacon
growl
guard
guard-shell
kicker
mocha-on-bacon
open4
Expand Down
15 changes: 0 additions & 15 deletions Guardfile

This file was deleted.

5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ namespace :spec do
FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
end

desc "Automatically run specs for updated files"
task :kick do
exec "bundle exec kicker -c"
end

desc "Run the unit specs"
task :unit => :unpack_fixture_tarballs do
sh "bundle exec bacon #{specs('unit/**')} -q"
Expand Down

0 comments on commit 97840d4

Please sign in to comment.