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-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/coderay-1.1.1/Rakefile
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/coderay-1.1.1/Rakefile
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/coderay-1.1.0/Rakefile
coderay-1.1.1 Rakefile
coderay-1.1.1.rc1 Rakefile
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/coderay-1.1.0/Rakefile
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/coderay-1.1.0/Rakefile
logstash-codec-json-2.0.3 vendor/gems/coderay-1.1.0/Rakefile
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/coderay-1.1.0/Rakefile
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/coderay-1.1.0/Rakefile
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/coderay-1.1.0/Rakefile
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/coderay-1.1.0/Rakefile
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/coderay-1.1.0/Rakefile
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/coderay-1.1.0/Rakefile
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/coderay-1.1.0/Rakefile
geminfo-0.1.0 path/gems/coderay-1.1.0/Rakefile
solidus_backend-1.0.0.pre3 vendor/bundle/gems/coderay-1.1.0/Rakefile