Sha256: 024fc8e576068045317d6e5602fb921e73f3f8a954b607e477164f21aa862744
Contents?: true
Size: 846 Bytes
Versions: 5
Compression:
Stored size: 846 Bytes
Contents
require 'bundler/gem_tasks' $:.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 (eg. in the distribution package) 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_INDEX.rdoc' rd.rdoc_files.add Dir['lib'] rd.rdoc_files.add rd.main rd.rdoc_dir = 'doc' end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
coderay-1.1.0.rc5 | Rakefile |
coderay-1.1.0.rc4 | Rakefile |
coderay-1.1.0.rc3 | Rakefile |
coderay-1.1.0.rc2 | Rakefile |
coderay-1.1.0.rc1 | Rakefile |