Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (32 sloc) 0.97 kb
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
1 require 'rake'
2 require 'rake/testtask'
c560a54 @nahi Use bundler as a part of build system
authored
3 require 'rdoc/task'
4 require 'rubygems/package_task'
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
5
c560a54 @nahi Use bundler as a part of build system
authored
6 task :default => :test
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
7
c560a54 @nahi Use bundler as a part of build system
authored
8 require 'bundler'
9 Bundler::GemHelper.install_tasks
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
10
11 begin
12 require 'rcov/rcovtask'
13 Rcov::RcovTask.new("coverage") do |rcov|
14 rcov.libs << 'lib'
15 rcov.pattern = 'test/test_*.rb'
16 end
17 rescue LoadError
18 end
19
20 Rake::TestTask.new("test") do |test|
21 test.libs << 'lib'
c560a54 @nahi Use bundler as a part of build system
authored
22 test.verbose = true
23 test.test_files = Dir.glob('test/test_*.rb')
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
24 end
25
26 Rake::RDocTask.new("doc") do |rdoc|
a126235 @nahi Split out VERSION definition to version.rb
authored
27 load 'lib/httpclient/version.rb'
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
28 rdoc.rdoc_dir = 'doc'
f0336f6 * added RDoc title.
nahi authored
29 rdoc.title = "HTTPClient Library Document: Version #{HTTPClient::VERSION}"
792bbbb * added RDoc to httpclient.rb. see #162.
nahi authored
30 rdoc.rdoc_files.include('README.txt')
31 rdoc.rdoc_files.include('lib/httpclient/*.rb')
32 rdoc.rdoc_files.include('lib/httpclient.rb')
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
33 end
34
c6d461b * added RDoc for httpclient/connection.rb. see #162.
nahi authored
35 task 'tags' do
59bee82 @nahi Added docs for OAuthClient. closes #4.
authored
36 #sh 'rtags --vi lib/httpclient.rb lib/oauthclient.rb lib/hexdump.rb lib/httpclient/*.rb'
37 sh 'ctags lib/httpclient.rb lib/oauthclient.rb lib/hexdump.rb lib/httpclient/*.rb'
c6d461b * added RDoc for httpclient/connection.rb. see #162.
nahi authored
38 end
Something went wrong with that request. Please try again.