Sha256: 8e61cb0338053448da7068de4a3e0ac2bbd73e987e6f478b50f4caec6e3ee0c0

Contents?: true

Size: 559 Bytes

Versions: 5

Compression:

Stored size: 559 Bytes

Contents

require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :spec

desc 'Test the magic_enum plugin.'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.libs << 'lib'
  t.pattern = 'spec/*_spec.rb'
end

desc 'Generate documentation for the magic_enum plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'MagicEnum'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ultrasphinx-1.5.1 vendor/sphinx/Rakefile
ultrasphinx-1.5.3 vendor/sphinx/Rakefile
ultrasphinx-1.5 vendor/sphinx/Rakefile
ultrasphinx-1.5.2 vendor/sphinx/Rakefile
ultrasphinx-1 ./vendor/sphinx/Rakefile