Sha256: 12a31916b14b40f29ae30c4f396180e9e5c24a36143e537ee2a2ea927923c953

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

Stored size: 671 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

9 entries across 9 versions & 2 rubygems

Version Path
mab-0.0.2 markaby/garlic.rb
markaby-0.7.2 garlic.rb
markaby-0.7.1 garlic.rb
markaby-0.7.0 garlic.rb
markaby-0.6.10 garlic.rb
markaby-0.6.9 garlic.rb
markaby-0.6.8 garlic.rb
markaby-0.6.7 garlic.rb
markaby-0.6.6 garlic.rb