File: Rakefile

package info (click to toggle)
ruby-eventmachine 1.3~pre20220315-df4ab006-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,616 kB
  • sloc: ruby: 10,873; cpp: 6,140; java: 1,136; makefile: 12
file content (20 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'rubygems'
GEMSPEC = Gem::Specification.load('eventmachine.gemspec')

require 'rake/clean'
task :clobber => :clean

desc "Build eventmachine, then run tests."
task :default => [:compile, :test]

desc 'Generate documentation'
begin
  require 'yard'
  YARD::Rake::YardocTask.new do |t|
    t.files   = ['lib/**/*.rb', '-', 'docs/*.md']
    t.options = ['--main', 'README.md', '--no-private']
    t.options = ['--exclude', 'lib/jeventmachine', '--exclude', 'lib/pr_eventmachine']
  end
rescue LoadError
  task :yard do puts "Please install yard first!"; end
end