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