Sha256: 240cfc5f4a1bf5692cb5404150349fcf3392382ecd69b22ac3e5016980cac0ec

Contents?: true

Size: 370 Bytes

Versions: 15

Compression:

Stored size: 370 Bytes

Contents

puts __FILE__ if defined?(DEBUG)

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

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

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dev-2.0.268 lib/tasks/update.rb
dev-2.0.267 lib/tasks/update.rb
dev-2.0.266 lib/tasks/update.rb
dev-2.0.265 lib/tasks/update.rb
dev-2.0.264 lib/tasks/update.rb
dev-2.0.263 lib/tasks/update.rb
dev-2.0.262 lib/tasks/update.rb
dev-2.0.261 lib/tasks/update.rb
dev-2.0.260 lib/tasks/update.rb
dev-2.0.259 lib/tasks/update.rb
dev-2.0.258 lib/tasks/update.rb
dev-2.0.257 lib/tasks/update.rb
dev-2.0.256 lib/tasks/update.rb
dev-2.0.255 lib/tasks/update.rb
dev-2.0.254 lib/tasks/update.rb