REPORT de la branche 1.1 (433->435)
[euphorik.git] / tools / tools.rb
index a70442e..205f2b6 100644 (file)
@@ -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