diff --git a/tasks/website.rake b/tasks/website.rake deleted file mode 100644 index f7281bb5d3..0000000000 --- a/tasks/website.rake +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -desc 'Generate website files' -task :website_generate do - (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt| - sh %( ./script/txt2html #{txt} > #{txt.gsub(/txt$/, 'html')} ) - end -end - -desc 'Upload website files to rubyforge' -task :website_upload do - remote_dir = '/var/www/gforge-projects/faker/' - local_dir = 'website' - sh %(rsync -acCv #{local_dir}/ #{ENV.fetch('USER', nil)}@rubyforge.org:#{remote_dir}) -end - -desc 'Generate and upload website files' -task website: %i[website_generate website_upload publish_docs]