ADD Des pommes !
[pompage.git] / mise_en_prod.rb
1 dest = "Z:\\var\\www\\divx"
2
3 #if $*.length < 1
4 # puts 'Usage: mise_en_prod.rb destination'
5 # exit 1
6 #end
7
8 dest = $*[0] if $*.length > 1
9
10 # pour windows
11 ['xml', 'xsl', 'js', 'css', 'img'].each{|rep|
12 `mkdir #{dest}\\#{rep}`
13 `xcopy /Y /F #{rep} #{dest}\\#{rep}`
14 }