public
Description: BrainBuster - a logic captcha for Rails
Homepage: http://opensource.thinkrelevance.com/wiki/BrainBuster
Clone URL: git://github.com/rsanheim/brain_buster.git
brain_buster / garlic.rb
e910b2ad » rsanheim 2009-06-29 fixing tests against rails ... 1 # typical vanilla garlic configuration
2
3 garlic do
4 # this plugin
5 repo "brain_buster", :path => '.'
6
7 # other repos
8 repo "rails", :url => "git://github.com/rails/rails"
9
10 # target railses
11 ['origin/master', 'origin/2-2-stable', 'origin/2-1-stable', 'origin/2-0-stable'].each do |rails|
12
13 # declare how to prepare, and run each CI target
14 target "Rails: #{rails}", :tree_ish => rails do
15 prepare do
16 plugin "brain_buster", :clone => true # so we can work in targets
17 end
18
19 run do
20 cd "vendor/plugins/brain_buster" do
21 sh "rake"
22 end
23 end
24 end
25 end
26 end