Sha256: 12514c1c49b56caf37d5f4c9c9a4c553cbd992fc43ade1a03760e8e19df73872

Contents?: true

Size: 734 Bytes

Versions: 34

Compression:

Stored size: 734 Bytes

Contents

desc 'Generate website files'
task :website_generate do
  sh %{ ruby scripts/txt2html website/index.txt > website/index.html }
  sh %{ ruby scripts/txt2js website/version.txt > website/version.js }
  sh %{ ruby scripts/txt2js website/version-raw.txt > website/version-raw.js }
end

desc 'Upload website files to rubyforge'
task :website_upload do
  config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
  host = "#{config["username"]}@rubyforge.org"
  remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/"
  local_dir = 'website'
  sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
end

desc 'Generate and upload website files'
task :website => [:website_generate, :website_upload, :publish_docs]

Version data entries

34 entries across 34 versions & 5 rubygems

Version Path
kovyrin-composite_primary_keys-2.3.2 tasks/website.rake
mingusbabcock-composite_primary_keys-2.2.2.1 tasks/website.rake
tyler-composite_primary_keys-1.1.0 tasks/website.rake
tyler-composite_primary_keys-1.1.1 tasks/website.rake
tyler-composite_primary_keys-1.1.2 tasks/website.rake
tyler-composite_primary_keys-1.1.3 tasks/website.rake
tyler-composite_primary_keys-1.1.4 tasks/website.rake
composite_primary_keys-3.0.4 tasks/website.rake
composite_primary_keys-3.0.3 tasks/website.rake
composite_primary_keys-3.0.0.b3 tasks/website.rake
composite_primary_keys-3.0.0.b2 tasks/website.rake
globe-composite_primary_keys-3.0.1 tasks/website.rake
composite_primary_keys-2.3.5.1 tasks/website.rake
composite_primary_keys-2.3.5 tasks/website.rake
composite_primary_keys-2.3.2 tasks/website.rake
composite_primary_keys-0.9.91 tasks/website.rake
composite_primary_keys-1.0.2 tasks/website.rake
composite_primary_keys-0.9.0 tasks/website.rake
composite_primary_keys-0.9.90 tasks/website.rake
composite_primary_keys-0.9.92 tasks/website.rake