Sha256: 5995786257b5c81a0aee7f88cf8ef3677f214682a9b18d3a8385d691d45c59c8

Contents?: true

Size: 287 Bytes

Versions: 6

Compression:

Stored size: 287 Bytes

Contents

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

class Pull < Array
	def update
		if(Internet.available?)
			if(File.exists?('.git') && `git config --list`.include?('user.name='))
				add_quiet('git pull') if Git.branch == 'master'
			end
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dev-2.0.274 lib/tasks/pull.rb
dev-2.0.273 lib/tasks/pull.rb
dev-2.0.272 lib/tasks/pull.rb
dev-2.0.271 lib/tasks/pull.rb
dev-2.0.270 lib/tasks/pull.rb
dev-2.0.269 lib/tasks/pull.rb