Sha256: 756fa2a976b94282875b25fcce55ec482f5629e879d6cdf3253895e00467e560

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/lib/markaby/rails")

garlic do
  # this plugin
  repo "markaby", :path => '.'
  
  # other repos
  repo "rails", :url => "git://github.com/rails/rails"

  # target railses
  RAILS_TAREGETS = Markaby::Rails::SUPPORTED_RAILS_VERSIONS.map do |version|
    "v#{version}"
  end

  RAILS_TAREGETS.each do |rails|
    # declare how to prepare, and run each CI target
    target "Rails: #{rails}", :tree_ish => rails do
      prepare do
        plugin "markaby", :clone => true # so we can work in targets
      end
    
      run do
        cd "vendor/plugins/markaby" do
          sh "rake"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
Markaby-0.6.5 garlic.rb
Markaby-0.6.3 garlic.rb