File: Rakefile

package info (click to toggle)
ruby-unf 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 680 kB
  • ctags: 13
  • sloc: ruby: 119; makefile: 2
file content (21 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env rake
require "bundler/gem_tasks"

gemspec = Bundler::GemHelper.gemspec

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.test_files = gemspec.test_files
  test.verbose = true
end

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "#{gemspec.name} #{gemspec.version}"
  rdoc.rdoc_files.include(gemspec.extra_rdoc_files)
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :default => :test