File: update_website

package info (click to toggle)
libtioga-ruby 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,460 kB
  • ctags: 3,986
  • sloc: ansic: 38,451; ruby: 16,774; sh: 172; makefile: 111
file content (17 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# (re-)generate rdoc documentation
if test -z "$NORDOC"; then
    rdoc
fi

# Copy images to the doc/ subdir
cp -r images doc/

if test -z "$RUBYFORGE_USER"; then
    RUBYFORGE_USER=""
else
    RUBYFORGE_USER="$RUBYFORGE_USER@";
fi
# Upload to rubyforge using rsync:
rsync -rtvvz --exclude '.*' --progress doc "$RUBYFORGE_USER"rubyforge.org:/var/www/gforge-projects/tioga