X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=mise_en_prod.rb;h=cda6118fd2bdc611aaec9dc913a5185201e84154;hb=c3b0deb3d8c9f439739c79806e915c29bc1d4b84;hp=a6b804cc450d7bae44bc1062b139b722a025c66e;hpb=360b03e976f53bd285b4f88e41bedf72e644898b;p=pompage.git diff --git a/mise_en_prod.rb b/mise_en_prod.rb index a6b804c..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', 'xpi'].each{|rep| - `mkdir #{dest}\\#{rep}` - `xcopy /Y /F #{rep} #{dest}\\#{rep}` + `cp -Ru #{rep} #{dest}` }