Sha256: 7f15f7d37af09f58c56d2546d38f250472f7135492ec6b35d9c00e494d36d0b3
Contents?: true
Size: 691 Bytes
Versions: 5
Compression:
Stored size: 691 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 = "cfis@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
5 entries across 5 versions & 1 rubygems