Sha256: 227f55631a68131a02936acd7ce77ced9069b382b3dbb213e1351b56cad8c609

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

require 'pathname'
require 'rubygems'
require 'rake'
require 'rake/clean'
require 'fileutils'
require 'echoe'

version = YAML.load_file(File.join(File.dirname(__FILE__), 'VERSION.yml')).join('.') rescue nil

echoe = Echoe.new('sdoc_all', version) do |p|
  p.author = 'toy'
  p.summary = 'documentation for everything'
  p.description = 'Command line tool to get documentation for ruby, rails, gems and plugins in one place'
  p.email = 'ivan@workisfun.ru'
  p.url = 'http://github.com/toy/sdoc_all'
  p.runtime_dependencies << 'activesupport'
  p.runtime_dependencies << 'rake'
  p.runtime_dependencies << 'progress >=0.0.8'
  p.runtime_dependencies << 'sdoc'
  p.project = 'toytoy'
end

desc "Replace system gem with symlink to this folder"
task 'ghost' do
  path = Gem.searcher.find(echoe.name).full_gem_path
  system 'sudo', 'rm', '-r', path
  symlink File.expand_path('.'), path
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sdoc_all-1.0.2.2 Rakefile