Sha256: 1177104cad3c9b8a4e8f831cc1655c8da5ff79c69149aed655a1daa710e7ca94

Contents?: true

Size: 727 Bytes

Versions: 29

Compression:

Stored size: 727 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/compositekeys/"
  local_dir = 'website'
  sh %{scp -r #{local_dir}/* #{host}:#{remote_dir}}
end

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
composite_primary_keys-13.0.1 tasks/website.rake
composite_primary_keys-13.0.0 tasks/website.rake
composite_primary_keys-12.0.10 tasks/website.rake
composite_primary_keys-12.0.9 tasks/website.rake
composite_primary_keys-12.0.8 tasks/website.rake
composite_primary_keys-12.0.6 tasks/website.rake
composite_primary_keys-12.0.5 tasks/website.rake
composite_primary_keys-12.0.4 tasks/website.rake
composite_primary_keys-12.0.3 tasks/website.rake
composite_primary_keys-12.0.2 tasks/website.rake
composite_primary_keys-11.3.1 tasks/website.rake
composite_primary_keys-8.1.8 tasks/website.rake
composite_primary_keys-12.0.1 tasks/website.rake
composite_primary_keys-12.0.0 tasks/website.rake
composite_primary_keys-12.0.0.rc5 tasks/website.rake
composite_primary_keys-12.0.0.rc4 tasks/website.rake
composite_primary_keys-12.0.0.rc3 tasks/website.rake
composite_primary_keys-12.0.0.rc2 tasks/website.rake
composite_primary_keys-12.0.0.rc1 tasks/website.rake
composite_primary_keys-8.1.7 tasks/website.rake