Sha256: 6d179ddc71c91104e6b5e5dbf6737490045f23e612c90fa57d02fbc02d2c0601
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
require "rubygems" require "bundler" Bundler.setup(:development) require 'rake' begin require 'jeweler' $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "redwood" Jeweler::Tasks.new do |gemspec| gemspec.name = "redwood" gemspec.summary = "Ruby trees" gemspec.description = "A simple library to create and manage basic tree-esque structures." gemspec.version = Redwood::VERSION gemspec.homepage = "http://github.com/mwunsch/redwood" gemspec.authors = ["Mark Wunsch"] gemspec.email = ["mark@markwunsch.com"] gemspec.add_development_dependency "bundler", ">= 0.9.7" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "redwood #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end desc "Open an irb session preloaded with this library" task :console do sh "irb -rubygems -I lib -r redwood" end desc "Build the manual" task :build_man do sh "ronn -br5 --organization='Mark Wunsch' --manual='Redwood Manual' man/*.ronn" end desc "Show the manual" task :man => :build_man do exec "man man/redwood.1" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redwood-0.1.0 | Rakefile |