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