Sha256: d106cafa17c06d2ac98568c0a0ecf2786b3a11e361583ecdfff74943c1574ed3

Contents?: true

Size: 778 Bytes

Versions: 12

Compression:

Stored size: 778 Bytes

Contents

# encoing: utf-8

##### Requirements

# Rake etc
require 'rake'
require 'minitest/unit'

# Cri itself
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/lib'))
require 'cri'

##### Documentation

require 'yard'

YARD::Rake::YardocTask.new(:doc) do |yard|
  yard.files   = Dir['lib/**/*.rb']
  yard.options = [
    '--markup',        'markdown',
    '--readme',        'README.md',
    '--files',         'NEWS.md,LICENSE',
    '--output-dir',    'doc/yardoc',
  ]
end

##### Testing

desc 'Runs all tests'
task :test do
  ENV['QUIET'] ||= 'true'

  $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))

  MiniTest::Unit.autorun

  require 'test/helper.rb'

  test_files = Dir['test/test_*.rb']
  test_files.each { |f| require f }
end

task :default => :test

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cri-2.3.0 Rakefile
cri-2.2.1 Rakefile
cri-2.2.0 Rakefile
cri-2.1.0 Rakefile
cri-2.0.2 Rakefile
cri-2.0.1 Rakefile
cri-2.0.0 Rakefile
cri-2.0rc1 Rakefile
cri-2.0b1 Rakefile
cri-2.0a3 Rakefile
cri-2.0a2 Rakefile
cri-2.0a1 Rakefile