Sha256: b35ced67565e8b19be22d11ad47a4d63c48b808141d24346c411faab7662aedd

Contents?: true

Size: 572 Bytes

Versions: 33

Compression:

Stored size: 572 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?
        warn "Couldn't parse the packaging repo URL from 'ext/build_defaults.yaml'."
        warn "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

33 entries across 33 versions & 1 rubygems

Version Path
packaging-0.122.3 tasks/update.rake
packaging-0.122.2 tasks/update.rake
packaging-0.122.1 tasks/update.rake
packaging-0.122.0 tasks/update.rake
packaging-0.121.0 tasks/update.rake
packaging-0.120.0 tasks/update.rake
packaging-0.118.0 tasks/update.rake
packaging-0.117.0 tasks/update.rake
packaging-0.116.0 tasks/update.rake
packaging-0.115.0 tasks/update.rake
packaging-0.114.0 tasks/update.rake
packaging-0.113.0 tasks/update.rake
packaging-0.112.0 tasks/update.rake
packaging-0.111.0 tasks/update.rake
packaging-0.110.1 tasks/update.rake
packaging-0.110.0 tasks/update.rake
packaging-0.109.7 tasks/update.rake
packaging-0.109.6 tasks/update.rake
packaging-0.109.5 tasks/update.rake
packaging-0.109.4 tasks/update.rake