Sha256: 7ce082cb18994e16ba6053d65438bb9e5843dda13b1314f763c77084ef72a5ab
Contents?: true
Size: 876 Bytes
Versions: 5
Compression:
Stored size: 876 Bytes
Contents
# $Id: website.rake 12 2007-08-23 16:43:11Z tim_pease $ namespace :website do desc 'Build the Logging website' task :build do begin olddir = pwd chdir 'website' sh 'rake build' cp_r 'output/.', olddir + '/doc' ensure chdir olddir end end desc 'Remove the Logging website' task :clobber do rm_r 'doc' rescue nil end desc 'Publish the website to RubyForge' task :release => %w(website:clobber doc:rdoc website:build) do config = YAML.load( File.read(File.expand_path('~/.rubyforge/user-config.yml')) ) host = "#{config['username']}@rubyforge.org" remote_dir = "/var/www/gforge-projects/#{PROJ.rubyforge_name}/" sh "rsync --delete -rulptzCF doc/ #{host}:#{remote_dir}" end end # namespace :website task :clobber => 'website:clobber' # EOF
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
logging-0.5.0 | tasks/website.rake |
logging-0.5.1 | tasks/website.rake |
logging-0.5.2 | tasks/website.rake |
logging-0.5.3 | tasks/website.rake |
logging-0.6.0 | rakelib/website.rake |