Sha256: 3346c6a8dbcca061e3f8dba6b9098ccfbcea3f464119092c4e638ba94abfe0fd

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

garlic do
  repo 'inherit_views', :path => '.'

  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'

  # Make sure you set up tracking branches for origin/rails-2.2, and origin/rails-2.0-2.1
  [ 
    {:rails => 'master',      :inherit_views => 'master'},
    {:rails => '2-3-stable',  :inherit_views => 'master'},
    {:rails => '2-2-stable',  :inherit_views => 'rails-2.2'},
    {:rails => '2-1-stable',  :inherit_views => 'rails-2.0-2.1'},
    {:rails => '2-0-stable',  :inherit_views => 'rails-2.0-2.1'}
  ].each do |target|

    target target[:rails], :branch => "origin/#{target[:rails]}" do
      prepare do
        plugin 'inherit_views', :branch => "origin/#{target[:inherit_views]}", :clone => true
        plugin 'rspec', :branch => 'origin/1.1-maintenance'
        plugin 'rspec-rails', :branch => 'origin/1.1-maintenance' do
          sh "script/generate rspec -f"
        end
      end
      run do
        cd "vendor/plugins/inherit_views" do
          sh "rake rcov:verify"
        end
      end
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
topherfangio-inherit_views-1.0.1 garlic.rb
topherfangio-inherit_views-1.0.2 garlic.rb
topherfangio-inherit_views-1.0.3 garlic.rb