Permalink
Browse files

Add a kicker file. Unfortunately it isn't working properly with RubyM…

…otion yet.
  • Loading branch information...
1 parent b4ff939 commit d737cc561662e6ebd85c69d8478afac4ac1c765d @alloy committed Jul 7, 2012
Showing with 82 additions and 0 deletions.
  1. +11 −0 .kick
  2. +1 −0 .rbenv-version
  3. +4 −0 Gemfile
  4. +59 −0 Gemfile.lock
  5. +7 −0 Rakefile
View
@@ -0,0 +1,11 @@
+process do |files|
+ specs = files.take_and_map do |file|
+ case file
+ when %r{app/(.+)\.rb$}
+ Dir.glob("spec/#{$1}_spec.rb")
+ when %r{spec/.+_spec\.rb$}
+ file
+ end
+ end
+ execute "rake spec files=#{specs.uniq.join(',')}" unless specs.empty?
+end
View
@@ -0,0 +1 @@
+1.9.3-p194
View
@@ -0,0 +1,4 @@
+source :rubygems
+
+gem 'motion-cocoapods'
+gem 'kicker'
View
@@ -0,0 +1,59 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.2.6)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ addressable (2.2.8)
+ cocoapods (0.7.0)
+ activesupport (~> 3.2.6)
+ colored (~> 1.2)
+ escape (~> 0.0.4)
+ faraday (~> 0.8.1)
+ json (~> 1.7.3)
+ octokit (~> 1.7.0)
+ open4 (~> 1.3.0)
+ rake (~> 0.9.0)
+ xcodeproj (~> 0.2.2)
+ colored (1.2)
+ escape (0.0.4)
+ faraday (0.8.1)
+ multipart-post (~> 1.1)
+ faraday_middleware (0.8.8)
+ faraday (>= 0.7.4, < 0.9)
+ ffi (1.0.11)
+ hashie (1.2.0)
+ i18n (0.6.0)
+ json (1.7.3)
+ kicker (2.6.1)
+ listen
+ listen (0.4.7)
+ rb-fchange (~> 0.0.5)
+ rb-fsevent (~> 0.9.1)
+ rb-inotify (~> 0.8.8)
+ motion-cocoapods (1.0.5)
+ cocoapods (>= 0.5.1)
+ multi_json (1.3.6)
+ multipart-post (1.1.5)
+ octokit (1.7.0)
+ addressable (~> 2.2)
+ faraday (~> 0.8)
+ faraday_middleware (~> 0.8)
+ hashie (~> 1.2)
+ multi_json (~> 1.3)
+ open4 (1.3.0)
+ rake (0.9.2.2)
+ rb-fchange (0.0.5)
+ ffi
+ rb-fsevent (0.9.1)
+ rb-inotify (0.8.8)
+ ffi (>= 0.5.0)
+ xcodeproj (0.2.3)
+ activesupport (~> 3.2.6)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ kicker
+ motion-cocoapods
View
@@ -22,3 +22,10 @@ task 'spec' do
# if there are no errors
sh "osascript -e 'tell application \"iphone simulator\" to quit'"
end
+
+namespace :spec do
+ desc "Auto-run specs"
+ task :kick do
+ sh "bundle exec kicker -c"
+ end
+end

0 comments on commit d737cc5

Please sign in to comment.