-
Notifications
You must be signed in to change notification settings - Fork 103
/
garlic.rb
34 lines (30 loc) · 1.01 KB
/
garlic.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
garlic do
repo 'rails', :url => 'git://github.com/rails/rails'
repo 'rspec', :url => 'git://github.com/dchelimsky/rspec'
repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails'
repo 'factory_girl', :url => 'git://github.com/thoughtbot/factory_girl'
repo 'machinist', :url => 'git://github.com/notahat/machinist'
repo 'cucumber', :url => 'git://github.com/aslakhellesoy/cucumber'
repo 'pickle', :path => '.'
['origin/2-1-stable', 'origin/2-2-stable', 'origin/master'].each do |rails|
target "Rails: #{rails}", :tree_ish => rails do
prepare do
plugin 'pickle', :clone => true
plugin 'rspec'
plugin 'rspec-rails' do
`script/generate rspec -f`
end
plugin 'factory_girl'
plugin 'cucumber' do
`script/generate cucumber -f`
end
plugin 'machinist'
end
run do
cd "vendor/plugins/pickle" do
sh "rake spec:rcov:verify && rake features"
end
end
end
end
end