Sha256: ad9771ce25ddcc13d0f3c39bf8a58e9233dbb693ffadfdd96bcca99ddf4b54f4
Contents?: true
Size: 1.26 KB
Versions: 3
Compression:
Stored size: 1.26 KB
Contents
begin require 'jeweler' name = 'sdoc_all' summary = 'Documentation for everything' description = 'Command line tool to get documentation for ruby, rails, gems and plugins in one place' jewel = Jeweler::Tasks.new do |j| j.name = name j.summary = summary j.description = description j.homepage = "http://github.com/toy/#{name}" j.authors = ["Boba Fat"] j.add_dependency 'activesupport' j.add_dependency 'colored' j.add_dependency 'progress', '>= 0.0.8' j.add_dependency 'rake' j.add_dependency 'rubigen' j.add_dependency 'sdoc' end Jeweler::GemcutterTasks.new require 'pathname' desc "Replace system gem with symlink to this folder" task 'ghost' do gem_path = Pathname(Gem.searcher.find(name).full_gem_path) current_path = Pathname('.').expand_path cmd = gem_path.writable? && gem_path.parent.writable? ? %w() : %w(sudo) system(*cmd + %W[rm -r #{gem_path}]) system(*cmd + %W[ln -s #{current_path} #{gem_path}]) end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end task :default => :spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sdoc_all-1.0.7 | Rakefile |
sdoc_all-1.0.6 | Rakefile |
sdoc_all-1.0.5 | Rakefile |