-
Notifications
You must be signed in to change notification settings - Fork 11
/
Rakefile
32 lines (29 loc) · 1.17 KB
/
Rakefile
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
require 'rake'
require 'echoe'
require 'rake/rdoctask'
require 'spec/rake/spectask'
task :default => :gem
Echoe.new("exact-target") do |s|
s.author = ["David McCullars", "Paul Nock", "Jeff Ching"]
s.project = "exact-target"
s.email = ["[email protected]", "[email protected]"]
s.url = "http://github.com/ePublishing/exact_target"
s.docs_host = "http://rdoc.info/github/ePublishing/exact_target/master/frames"
s.rdoc_pattern = /README|TODO|LICENSE|CHANGELOG|BENCH|COMPAT|exceptions|behaviors|exact-target.rb/
s.clean_pattern += ["ext/lib", "ext/include", "ext/share", "ext/libexact-target-?.??", "ext/bin", "ext/conftest.dSYM"]
s.summary = <<DONE
This is a pure-ruby implementation of the ExactTarget api.
For more information consule http://www.exacttarget.com/.
DONE
end
desc 'generate API documentation to doc/rdocs/index.html'
Rake::RDocTask.new do |rd|
rd.rdoc_dir = 'doc/rdocs'
rd.main = 'README.rdoc'
rd.rdoc_files.include 'README.rdoc', 'CHANGELOG', 'lib/**/*.rb'
rd.rdoc_files.exclude '**/string_ext.rb', '**/net_https_hack.rb'
rd.options << '--inline-source'
rd.options << '--line-numbers'
rd.options << '--all'
rd.options << '--fileboxes'
end