-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathRakefile
More file actions
36 lines (26 loc) · 697 Bytes
/
Rakefile
File metadata and controls
36 lines (26 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- ruby -*-
require 'rake'
require 'rake/clean'
require './lib/calais.rb'
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
rescue LoadError
puts "RSpec, or one of its dependencies, is not available. Please install it."
exit(1)
end
begin
require 'yard'
require 'yard/rake/yardoc_task'
YARD::Rake::YardocTask.new do |t|
t.options = ["--verbose", "--markup=markdown", "--files=CHANGELOG.markdown,MIT-LICENSE"]
end
task :rdoc => :yardoc
CLOBBER.include 'doc'
CLOBBER.include '.yardoc'
rescue LoadError
puts "Yard, or one of its dependencies is not available. Please install it."
exit(1)
end
# vim: syntax=Ruby