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.69 tasks/update.rake
packaging-0.99.68 tasks/update.rake
packaging-0.99.67 tasks/update.rake
packaging-0.99.66 tasks/update.rake
packaging-0.99.65 tasks/update.rake
packaging-0.99.64 tasks/update.rake
packaging-0.99.63 tasks/update.rake
packaging-0.99.62 tasks/update.rake
packaging-0.99.61 tasks/update.rake
packaging-0.99.60 tasks/update.rake
packaging-0.99.59 tasks/update.rake
packaging-0.99.58 tasks/update.rake
packaging-0.99.57 tasks/update.rake
packaging-0.99.56 tasks/update.rake
packaging-0.99.55 tasks/update.rake
packaging-0.99.54 tasks/update.rake
packaging-0.99.53 tasks/update.rake
packaging-0.99.52 tasks/update.rake
packaging-0.99.51 tasks/update.rake
packaging-0.99.50 tasks/update.rake