X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=mise_en_prod.rb;h=cda6118fd2bdc611aaec9dc913a5185201e84154;hp=9b4d23e7b8c6ba878c3bd71218f952306167458f;hb=3c0d34648b6522fcd86baa485bf6008ba805f7a3;hpb=758f0146355cf0b6c0745d1e73c94c060fc6405c diff --git a/mise_en_prod.rb b/mise_en_prod.rb index 9b4d23e..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 /F #{rep} #{dest}\\#{rep}` -} \ No newline at end of file +['xml', 'xsl', 'js', 'css', 'img', 'xpi'].each{|rep| + `cp -Ru #{rep} #{dest}` +}