Maven migration (first draft)
This commit is contained in:
parent
da79ac3e1d
commit
fee48b0b50
1711 changed files with 662 additions and 0 deletions
20
legacy/utilities/LoadTesting/scripts/_update
Executable file
20
legacy/utilities/LoadTesting/scripts/_update
Executable file
|
@ -0,0 +1,20 @@
|
|||
#! /usr/bin/ruby
|
||||
|
||||
=begin
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Use SVN to get the latest revisions to the currently-selected distro.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
=end
|
||||
|
||||
require File.expand_path('subscripts/common', File.dirname(__FILE__))
|
||||
|
||||
if (@is_git)
|
||||
Dir.chdir(distro_file('Vitro')) { |path| system "git pull" }
|
||||
Dir.chdir(distro_file('VIVO')) { |path| system "git pull" }
|
||||
else
|
||||
Dir.chdir(distro_file('vitro')) { |path| system "svn update" }
|
||||
Dir.chdir(distro_file('vivo')) { |path| system "svn update" }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue