mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
487 B
22 lines
487 B
# frozen_string_literal: true
|
|
# Optional publish task for Rake
|
|
|
|
begin
|
|
require 'rake/contrib/sshpublisher'
|
|
require 'rake/contrib/rubyforgepublisher'
|
|
|
|
publisher = Rake::CompositePublisher.new
|
|
publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich')
|
|
publisher.add Rake::SshFilePublisher.new(
|
|
'linode',
|
|
'htdocs/software/builder',
|
|
'.',
|
|
'builder.blurb')
|
|
|
|
desc "Publish the Documentation to RubyForge."
|
|
task :publish => [:rdoc] do
|
|
publisher.upload
|
|
end
|
|
rescue LoadError
|
|
end
|