projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX la css généré dans yaws lorsque la personne n'est pas connecté
[euphorik.git]
/
tools
/
mise_en_prod.rb
diff --git
a/tools/mise_en_prod.rb
b/tools/mise_en_prod.rb
index
09cd568
..
19e180b
100755
(executable)
--- a/
tools/mise_en_prod.rb
+++ b/
tools/mise_en_prod.rb
@@
-37,6
+37,7
@@
def creer_remote_rep(rep)
end
creer_remote_rep('BD')
end
creer_remote_rep('BD')
+`ssh #{$host} "chmod g+w #{$rep_remote}/BD"`
Dir.chdir('..')
print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}`
Dir.chdir('..')
print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}`
@@
-56,6
+57,8
@@
Dir.entries(rep_js).each{|fichier|
creer_remote_rep('modules')
`rsync #{$opt_rsync} -r modules/ebin #{$host}:#{$rep_remote}/modules`
creer_remote_rep('modules')
`rsync #{$opt_rsync} -r modules/ebin #{$host}:#{$rep_remote}/modules`
+`rsync #{$opt_rsync} -r modules/include #{$host}:#{$rep_remote}/modules`
+
`rsync #{$opt_rsync} -r pages #{$host}:#{$rep_remote}`
`rsync #{$opt_rsync} -r pages #{$host}:#{$rep_remote}`