ADD Images (img)
[pompage.git] / mise_en_prod.rb
index 8830586..473156b 100644 (file)
@@ -1,12 +1,14 @@
-if $*.length < 1\r
-   puts 'Usage: mise_en_prod.rb destination'\r
-   exit 1\r
-end\r
+dest = "Z:\\var\\www\\divx"\r
 \r
-dest = $*[0]\r
+#if $*.length < 1\r
+#   puts 'Usage: mise_en_prod.rb destination'\r
+#   exit 1\r
+#end\r
+\r
+dest = $*[0] if $*.length > 1\r
 \r
 # pour windows\r
-['xml', 'xsl', 'js', 'css'].each{|rep|\r
+['xml', 'xsl', 'js', 'css', 'img'].each{|rep|\r
    `mkdir #{dest}\\#{rep}`\r
    `xcopy /Y #{rep} #{dest}\\#{rep}`\r
 }
\ No newline at end of file