Sha256: e9aa709d4b63cf823291b98e83e2d072c36df07318960a0c8f2dcee94ba0b91f
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'rcov/rcovtask' Rcov::RcovTask.new do |t| t.libs << 'test' t.test_files = FileList['test/**/*_test.rb'] t.rcov_opts = ["-T -x '/Library/Ruby/*'"] t.verbose = true end rescue LoadError puts "Rcov not available. Install it for rcov-related tasks with: sudo gem install rcov" end begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "rubish" s.description = "Ruby Interactive Shell" s.summary = s.description s.email = "hayeah@gmail.com" s.homepage = "http://github.com/hayeah/rubish" s.authors = ["Howard Yeh"] s.has_rdoc = true s.extra_rdoc_files = ["LICENSE"] s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"] end rescue LoadError puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end Rake::TestTask.new do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = false end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'test' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end desc "Build and install gem" task :gem_install =>["gemspec", "build", "install"] task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubish-0.1.0 | Rakefile |
rubish-0.0.1 | Rakefile |