Sha256: eef3459705433cbc323f958a336b6d1fe7f5d18b679507810707578dbdda0b18
Contents?: true
Size: 783 Bytes
Versions: 2
Compression:
Stored size: 783 Bytes
Contents
$:.unshift File.dirname(__FILE__) unless $:.include? '.' ROOT = '.' LIB_ROOT = File.join ROOT, 'lib' task :default => :test if File.directory? 'rake_tasks' # load rake tasks from subfolder for task_file in Dir['rake_tasks/*.rake'].sort load task_file end else # fallback tasks when rake_tasks folder is not present desc 'Run CodeRay tests (basic)' task :test do ruby './test/functional/suite.rb' ruby './test/functional/for_redcloth.rb' end gem 'rdoc' if defined? gem require 'rdoc/task' desc 'Generate documentation for CodeRay' Rake::RDocTask.new :doc do |rd| rd.title = 'CodeRay Documentation' rd.main = 'README.rdoc' rd.rdoc_files.add Dir['lib'] rd.rdoc_files.add 'README.rdoc' rd.rdoc_dir = 'doc' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coderay-1.0.0.800pre | Rakefile |
coderay-1.0.0.798.pre | Rakefile |