Sha256: 367c277bafeb41c1394b49767aec744496cba1eff66d7dbddaa01367e0b60ee7
Contents?: true
Size: 596 Bytes
Versions: 9
Compression:
Stored size: 596 Bytes
Contents
#desc 'Generate website files' #task :website_generate => :ruby_env do # (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt| # sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} } # end #end desc 'Upload website files to rubyforge' task :website_upload do host = "#{rubyforge_username}@rubyforge.org" remote_dir = "/var/www/gforge-projects/#{PATH}/" local_dir = 'website' sh %{rsync -rlgoDCv #{local_dir}/ #{host}:#{remote_dir}} end #desc 'Generate and upload website files' #task :website => [:website_generate, :website_upload, :publish_docs]
Version data entries
9 entries across 9 versions & 5 rubygems