X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=mise_en_prod.rb;fp=mise_en_prod.rb;h=88305865af66235fbb6b0f18336669f7b549c7f4;hb=e9fd5c2bdeb9b348717b34d5dc6fad78da86130d;hp=0000000000000000000000000000000000000000;hpb=868d7866eee089c6e9f9a9a4304b8ab55a05fca1;p=pompage.git diff --git a/mise_en_prod.rb b/mise_en_prod.rb new file mode 100644 index 0000000..8830586 --- /dev/null +++ b/mise_en_prod.rb @@ -0,0 +1,12 @@ +if $*.length < 1 + puts 'Usage: mise_en_prod.rb destination' + exit 1 +end + +dest = $*[0] + +# pour windows +['xml', 'xsl', 'js', 'css'].each{|rep| + `mkdir #{dest}\\#{rep}` + `xcopy /Y #{rep} #{dest}\\#{rep}` +} \ No newline at end of file