Sha256: 40320ad107166e6585e1e77a78389293c03ea5c06d14289b4c949cf5a7a62bd8
Contents?: true
Size: 663 Bytes
Versions: 1
Compression:
Stored size: 663 Bytes
Contents
begin require "bundler/gem_tasks" rescue LoadError end require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test/lib" t.ruby_opts << "-rhelper" t.test_files = FileList["test/**/test_*.rb"] end require "rdoc/task" RDoc::Task.new do |doc| doc.main = "README.md" doc.title = "Logger -- Ruby Standard Logger" doc.rdoc_files = FileList.new %w[README.md lib BSDL COPYING] doc.rdoc_dir = "html" end task "gh-pages" => :rdoc do %x[git checkout gh-pages] require "fileutils" FileUtils.rm_rf "/tmp/html" FileUtils.mv "html", "/tmp" FileUtils.rm_rf "*" FileUtils.cp_r Dir.glob("/tmp/html/*"), "." end task :default => :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logger-1.6.5 | Rakefile |