Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (29 sloc) 0.832 kb
ea4d8e6 @ianwhite 0.1.2 - garlic now works as a command line tool
authored
1 # typical rspec garlic configuration
2
3 garlic do
4 # this plugin
5 repo "#{plugin}", :path => '.'
6
7 # other repos
8 repo "rails", :url => "git://github.com/rails/rails"
9 repo "rspec", :url => "git://github.com/dchelimsky/rspec"
10 repo "rspec-rails", :url => "git://github.com/dchelimsky/rspec-rails"
11
12 # targets
13 target "edge", :branch => 'origin/master'
14 target "2.1", :branch => "origin/2-1-stable"
15 target "2.0", :branch => "origin/2-0-stable"
16 target "1.2", :branch => "origin/1-2-stable"
17
18 # all targets
19 all_targets do
20 prepare do
21 plugin "#{plugin}", :clone => true # so we can work in targets
22 plugin "rspec"
23 plugin "rspec-rails" do
24 sh "script/generate rspec -f"
25 end
26 end
27
28 run do
29 cd "vendor/plugins/#{plugin}" do
30 sh "rake"
31 end
32 end
33 end
34 end
Something went wrong with that request. Please try again.