Sha256: 99c2a518ca001b5105a21d681360875e1af59e8d0a9caf0b4905faa58d76989d

Contents?: true

Size: 387 Bytes

Versions: 46

Compression:

Stored size: 387 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

46 entries across 46 versions & 1 rubygems

Version Path
dev-2.1.50 lib/tasks/update.rb
dev-2.1.49 lib/tasks/update.rb
dev-2.1.48 lib/tasks/update.rb
dev-2.1.47 lib/tasks/update.rb
dev-2.1.46 lib/tasks/update.rb
dev-2.1.45 lib/tasks/update.rb