X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=mise_en_prod.rb;h=a6b804cc450d7bae44bc1062b139b722a025c66e;hb=f2d0f55dc2e3dc77561c26703e382b1917498242;hp=473156b414ec4d04f787017cb915fa05d0dd3870;hpb=6a3e9e285bd76141ce1475f3ecc0c3f220a5c968;p=pompage.git diff --git a/mise_en_prod.rb b/mise_en_prod.rb index 473156b..a6b804c 100644 --- a/mise_en_prod.rb +++ b/mise_en_prod.rb @@ -8,7 +8,7 @@ dest = "Z:\\var\\www\\divx" dest = $*[0] if $*.length > 1 # pour windows -['xml', 'xsl', 'js', 'css', 'img'].each{|rep| +['xml', 'xsl', 'js', 'css', 'img', 'xpi'].each{|rep| `mkdir #{dest}\\#{rep}` - `xcopy /Y #{rep} #{dest}\\#{rep}` -} \ No newline at end of file + `xcopy /Y /F #{rep} #{dest}\\#{rep}` +}