Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (27 sloc) 0.972 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
nahi authored
3 require 'rdoc/task'
4 require 'rubygems/package_task'
929824b @nahi Update build system for CI
nahi authored
5 require 'ci/reporter/rake/test_unit'
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
6
c560a54 @nahi Use bundler as a part of build system
nahi authored
7 task :default => :test
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
8
c560a54 @nahi Use bundler as a part of build system
nahi authored
9 require 'bundler'
10 Bundler::GemHelper.install_tasks
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
11
929824b @nahi Update build system for CI
nahi authored
12 ENV['CI_REPORTS'] = File.expand_path('./reports', File.dirname(__FILE__))
13 task :test => ['ci:setup:testunit', 'test-run']
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
14
929824b @nahi Update build system for CI
nahi authored
15 Rake::TestTask.new('test-run') do |test|
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
16 test.libs << 'lib'
c560a54 @nahi Use bundler as a part of build system
nahi authored
17 test.verbose = true
18 test.test_files = Dir.glob('test/test_*.rb')
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
19 end
20
21 Rake::RDocTask.new("doc") do |rdoc|
a126235 @nahi Split out VERSION definition to version.rb
nahi authored
22 load 'lib/httpclient/version.rb'
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
23 rdoc.rdoc_dir = 'doc'
f0336f6 * added RDoc title.
nahi authored
24 rdoc.title = "HTTPClient Library Document: Version #{HTTPClient::VERSION}"
792bbbb * added RDoc to httpclient.rb. see #162.
nahi authored
25 rdoc.rdoc_files.include('README.txt')
26 rdoc.rdoc_files.include('lib/httpclient/*.rb')
27 rdoc.rdoc_files.include('lib/httpclient.rb')
e3ae9e2 * version: 2.1.2 -> 2.1.3-SNAPSHOT
nahi authored
28 end
29
c6d461b * added RDoc for httpclient/connection.rb. see #162.
nahi authored
30 task 'tags' do
59bee82 @nahi Added docs for OAuthClient. closes #4.
nahi authored
31 #sh 'rtags --vi lib/httpclient.rb lib/oauthclient.rb lib/hexdump.rb lib/httpclient/*.rb'
32 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
33 end
Something went wrong with that request. Please try again.