88305865af66235fbb6b0f18336669f7b549c7f4
[pompage.git] / mise_en_prod.rb
1 if $*.length < 1
2 puts 'Usage: mise_en_prod.rb destination'
3 exit 1
4 end
5
6 dest = $*[0]
7
8 # pour windows
9 ['xml', 'xsl', 'js', 'css'].each{|rep|
10 `mkdir #{dest}\\#{rep}`
11 `xcopy /Y #{rep} #{dest}\\#{rep}`
12 }