Sha256: 018c08427effab4ad52e91e7fa32a12c8f91343852f6e8eb932d4304a6598374

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

desc 'performs svn update'
task :update do Tasks.execute_task :update; end

class Update < Array
	def update
		add_quiet 'svn update' if File.exists?('.svn') && Internet.available?

		if(Dir.glob('**/packages.config').length > 0)
			Dir.glob('*.sln').each{|sln_file|
			    add_quiet "nuget restore #{sln_file}"
				add_quiet "nuget update #{sln_file}"
			}
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev-2.1.44 lib/tasks/update.rb