Sha256: c71833a81ab3cfdded641756a3c201040b2a01045422a6f3f46f32cea5252a9b

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 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='))
				self <<  'git pull' if Git.branch != 'develop'
			end
		end
	end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dev-2.0.149 lib/tasks/pull.rb
dev-2.0.148 lib/tasks/pull.rb
dev-2.0.147 lib/tasks/pull.rb
dev-2.0.146 lib/tasks/pull.rb
dev-2.0.145 lib/tasks/pull.rb
dev-2.0.143 lib/tasks/pull.rb
dev-2.0.142 lib/tasks/pull.rb
dev-2.0.141 lib/tasks/pull.rb
dev-2.0.140 lib/tasks/pull.rb