MOD refactoring haskell...
[pompage.git] / mise_en_prod.rb
1 #!/usr/bin/ruby
2
3 # la destination
4 $dest = 'gburri@euphorik.ch:web/divx'
5 $dest = $*[0] if $*.length > 1
6
7 # les options communes
8 $opt = '--delete'
9
10 `rsync $opt css/yopyop.css #{$dest}/css`
11 `rsync $opt -r img/* #{$dest}/img`
12 `rsync $opt js/yopyop.js #{$dest}/js`
13 `rsync $opt xml/divx.xml #{$dest}/xml`
14 `rsync $opt xpi/divxlist.xpi #{$dest}/xpi`
15 `rsync $opt xsl/yopyop.xsl #{$dest}/xsl`