Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (29 sloc) 0.714 kB
recipe :ruby
Kicker::Recipes::Ruby.runner_bin = 'bacon'
process do |files|
specs = files.take_and_map do |file|
case file
when %r{ext/xcodeproj/.+?\.(h|rb|c)$}
execute 'rake ext:cleanbuild'
'spec/xcodeproj_ext_spec.rb'
when %r{lib/xcodeproj/(.+?)\.rb$}
s = Dir.glob("spec/**/#{$1}_spec.rb")
s 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(/\..+?\.sw.$/)
ignore(/.*\/?tags/)
ignore(/.*\/?\.git/)
Jump to Line
Something went wrong with that request. Please try again.