Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7e25fc2999
Fetching contributors…

Cannot retrieve contributors at this time

file 39 lines (35 sloc) 1.187 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
# encoding: utf-8
require 'yard'
require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "girror"
  gem.homepage = "http://github.com/argent-smith/girror"
  gem.license = "MIT"
  gem.summary = %Q{Remote -> local directory 'mirror' using SFTP transport and Git storage.}
  gem.description = %Q{Retrieves remote directory via SFTP and stores it in local Git repository.}
  gem.email = "argentoff@gmail.com"
  gem.authors = ["Pavel Argentov"]
  # Dependencies are held in bundler's Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rdoc/task'
RDoc::Task.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "girror #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('LICENSE*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

YARD::Rake::YardocTask.new
Something went wrong with that request. Please try again.