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.106.0 tasks/update.rake
packaging-0.105.0 tasks/update.rake
packaging-0.104.0 tasks/update.rake
packaging-0.103.0 tasks/update.rake
packaging-0.102.0 tasks/update.rake
packaging-0.101.0 tasks/update.rake
packaging-0.99.82 tasks/update.rake
packaging-0.99.81 tasks/update.rake
packaging-0.99.80 tasks/update.rake
packaging-0.99.79 tasks/update.rake
packaging-0.99.78 tasks/update.rake
packaging-0.99.77 tasks/update.rake
packaging-0.88.77 tasks/update.rake
packaging-0.99.76 tasks/update.rake
packaging-0.99.75 tasks/update.rake
packaging-0.99.74 tasks/update.rake
packaging-0.99.73 tasks/update.rake
packaging-0.99.72 tasks/update.rake
packaging-0.99.71 tasks/update.rake
packaging-0.99.70 tasks/update.rake