Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (22 sloc) 0.521 kB
5a736c4 @alloy + config specs
alloy authored
1 recipe :ruby
2
bd53fda @alloy Fix .kick script for Kicker 2.5.0
alloy authored
3 Kicker::Recipes::Ruby.runner_bin = 'bacon'
3744f69 @alloy + partial installer spec
alloy authored
4
5 process do |files|
6 specs = files.take_and_map do |file|
7 case file
1bb68e0 @alloy Validate that a spec has the minimum required attributes. Testing if …
alloy authored
8 when %r{lib/cocoapods/(.+?)\.rb$}
3744f69 @alloy + partial installer spec
alloy authored
9 s = Dir.glob("spec/**/#{$1}_spec.rb")
10 s unless s.empty?
11 end
12 end
bd53fda @alloy Fix .kick script for Kicker 2.5.0
alloy authored
13 Kicker::Recipes::Ruby.run_tests(specs)
3744f69 @alloy + partial installer spec
alloy authored
14 end
97840d4 @alloy Remove Guard dependencies. Use `rake spec:kick` for auto-test-running.
alloy authored
15
16 # Have written this so many times, probably should make a recipe out of it.
17 process do |files|
18 files.each do |file|
19 case file
20 when 'Gemfile'
21 files.delete(file)
22 execute 'bundle install'
23 end
24 end
25 end
Something went wrong with that request. Please try again.