X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=tools%2Fmise_en_prod.rb;h=23c62cb9b864046f90e653e663416773a8672114;hp=4ca524b1bcb82d577ad40933eea2d4f99a972b0c;hb=c021866458e347a8c704217247ba207ad99c5cb7;hpb=2c27419e5ff0d1d064cf4d7e1417c469c82aef34 diff --git a/tools/mise_en_prod.rb b/tools/mise_en_prod.rb index 4ca524b..23c62cb 100755 --- a/tools/mise_en_prod.rb +++ b/tools/mise_en_prod.rb @@ -33,13 +33,13 @@ end # Compilation de la partie serveur Dir.chdir('../modules') puts `make` +Dir.chdir('..') # création du repertoire BD creer_remote_rep('BD') `ssh #{$host} "chmod g+w #{$rep_remote}/BD"` # copie de la partie statique : css, images, html, etc.. -Dir.chdir('..') print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}` print `rsync #{$opt_rsync} favicon.ico #{$host}:#{$rep_remote}` print `rsync #{$opt_rsync} -r css #{$host}:#{$rep_remote}` @@ -58,7 +58,7 @@ Dir.entries(rep_js).each{|fichier| # copie des modules erlang creer_remote_rep('modules') -`rsync #{$opt_rsync} -r modules/ebin #{$host}:#{$rep_remote}/modules` +`rsync #{$opt_rsync} -r --exclude 'euphorik_test.beam' modules/ebin #{$host}:#{$rep_remote}/modules` `rsync #{$opt_rsync} -r modules/include #{$host}:#{$rep_remote}/modules` # attribution des droits