X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=tools%2Ftools.rb;fp=tools%2Ftools.rb;h=205f2b625537546ae63c85c4453a569f22e3a80a;hp=a70442efca0cbc6c41ca5a5d0968a1c76b4b9188;hb=415a3f81c1a93b67a9a56695236f78caf9cff9b8;hpb=a4c54676f6cbaabdab7513978192508a4eb31e75 diff --git a/tools/tools.rb b/tools/tools.rb index a70442e..205f2b6 100644 --- a/tools/tools.rb +++ b/tools/tools.rb @@ -136,12 +136,14 @@ class MiseEnProd end def copierBD + #TODO end def lancerYaws creer_rep("tools") system("rsync tools/yaws.conf #{@uri}:#{@rep}/tools") system("rsync tools/start_yaws.sh #{@uri}:#{@rep}/tools") + # TODO end def exec(commande) @@ -235,7 +237,8 @@ end # Traite la ligne de commande lorsque tools.rb est utilisé comme tel class Commande def initialize - @miseEnProd = MiseEnProd.new("/home/gburri/projets/euphorik/trunk") + Dir.chdir("..") + @miseEnProd = MiseEnProd.new(".") @verifJS = VerifJS.new("js") @version = Version.new(".") end