Sha256: 775d742e1587cc7815c0243e50287bad41c4f4d0c15bf62638b15676ac2af5df

Contents?: true

Size: 588 Bytes

Versions: 93

Compression:

Stored size: 588 Bytes

Contents

namespace :package do
  desc "Update your clone of the packaging repo with `git pull`"
  task :update do
    cd 'ext/packaging' do
      remote = Pkg::Config.packaging_url.split(' ')[0]
      branch = Pkg::Config.packaging_url.split(' ')[1].split('=')[1]
      if branch.nil? or remote.nil?
        $stderr.puts "Couldn't parse the packaging repo URL from 'ext/build_defaults.yaml'."
        $stderr.puts "Normally this is a string in the format git@github.com:<User>/<packaging_repo> --branch=<branch>"
      else
        Pkg::Util::Git.pull(remote, branch)
      end
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
packaging-0.99.10.2.gfa4c366 tasks/update.rake
packaging-0.99.10 tasks/update.rake
packaging-0.99.9.5.g5811fb8 tasks/update.rake
packaging-0.99.9 tasks/update.rake
packaging-0.99.8 tasks/update.rake
packaging-0.99.7 tasks/update.rake
packaging-0.99.6 tasks/update.rake
packaging-0.99.5 tasks/update.rake
packaging-0.99.4 tasks/update.rake
packaging-0.99.3 tasks/update.rake
packaging-0.99.2 tasks/update.rake
packaging-0.99.1 tasks/update.rake
packaging-0.99.0 tasks/update.rake