Sha256: 7a03b068da2f86947b70dacc2aa97c4d10201930f732b744ad4694200f0ecec2

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

desc "performs a git pull"
task :pull do Tasks.execute_task :pull; end

class Pull < Array
  def update
    if !defined?(NO_PULL) && File.exist?(".git") && `git config --list`.include?("user.name=") && (Git.branch == "master")
      add_passive("git pull")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev-2.1.154 lib/tasks/pull.rb