X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=mise_en_prod.rb;h=cda6118fd2bdc611aaec9dc913a5185201e84154;hb=eb7467621891b71883916c90f91bddf4c38d615f;hp=9b4d23e7b8c6ba878c3bd71218f952306167458f;hpb=758f0146355cf0b6c0745d1e73c94c060fc6405c;p=pompage.git 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}` +}