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.49 tasks/update.rake
packaging-0.99.48 tasks/update.rake
packaging-0.99.47 tasks/update.rake
packaging-0.99.46 tasks/update.rake
packaging-0.99.45 tasks/update.rake
packaging-0.99.44 tasks/update.rake
packaging-0.99.43 tasks/update.rake
packaging-0.99.42 tasks/update.rake
packaging-0.99.41 tasks/update.rake
packaging-0.99.40 tasks/update.rake
packaging-0.99.39 tasks/update.rake
packaging-0.99.38 tasks/update.rake
packaging-0.99.37 tasks/update.rake
packaging-0.99.36 tasks/update.rake
packaging-0.99.35 tasks/update.rake
packaging-0.99.34 tasks/update.rake
packaging-0.99.33 tasks/update.rake
packaging-0.99.32 tasks/update.rake
packaging-0.99.31 tasks/update.rake
packaging-0.99.30 tasks/update.rake