Sha256: 7637af56e187a728256f84c44bfbc3d9a84d67f13ad9596dbfdb27d215884e0f

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

require 'rubygems'
require 'rake'
require 'rake/rdoctask'
require 'rake/testtask'

desc "Default Task"
task :default => [ :test ]

# Run the unit tests
Rake::TestTask.new { |t|
  t.test_files = "test/acts_as_urlnameable_test.rb"
  t.verbose = true
}


# Generate the RDoc documentation
Rake::RDocTask.new { |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.rdoc_files.include('README', 'LICENSE', 'TODO')
  rdoc.rdoc_files.include('lib/*.rb')
  rdoc.rdoc_files.exclude('lib/urlname.rb')
  rdoc.title    = 'Acts as Urlnameable - Like Acts as Permalink, but not!'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.main     = 'README'
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compages-0.4.0 vendor/plugins/acts_as_urlnameable/Rakefile