Sha256: 8b54cc99db8ffdc3a3d94a7ad92bd2f0187a81b5c0b1305ded3be935059344f0
Contents?: true
Size: 631 Bytes
Versions: 11
Compression:
Stored size: 631 Bytes
Contents
recipe :ruby Kicker::Recipes::Ruby.runner_bin = 'bundle exec bacon --quiet' process do |files| specs = files.take_and_map do |file| if file =~ %r{lib/[^/]*/(.+?)\.rb$} s = Dir.glob("spec/**/#{File.basename(file, '.rb')}_spec.rb") s.uniq unless s.empty? end 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 recipe :ignore ignore(/.*\/?tags/) ignore(/.*\/?\.git/) ignore(/^tmp/)
Version data entries
11 entries across 11 versions & 2 rubygems