Sha256: c3bc68e473704943767384c2f74471290bffdf2af92ac303d34f8f9ed788bad4

Contents?: true

Size: 847 Bytes

Versions: 66

Compression:

Stored size: 847 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

66 entries across 63 versions & 25 rubygems

Version Path
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/coderay-1.1.1/Rakefile
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/coderay-1.1.1/Rakefile
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/coderay-1.1.1/Rakefile
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/coderay-1.1.1/Rakefile
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/coderay-1.1.1/Rakefile
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/coderay-1.1.1/Rakefile
tdiary-5.0.5 vendor/bundle/gems/coderay-1.1.1/Rakefile
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/coderay-1.1.1/Rakefile
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/coderay-1.1.1/Rakefile
lazy_record-0.2.1 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.2.0 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.1.9 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.1.8 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.1.7 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.1.6 vendor/bundle/gems/coderay-1.1.1/Rakefile
lazy_record-0.1.4 vendor/bundle/gems/coderay-1.1.1/Rakefile