Sha256: ae4c7a4ea4de0720dedaff917dd47804e430259584207bbb362add8c2229aef3

Contents?: true

Size: 726 Bytes

Versions: 4

Compression:

Stored size: 726 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Run unit tests.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = '3scale web service management api'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

spec = eval(File.read(File.dirname(__FILE__) + '/3scale_ws_api_for_ruby.gemspec'))

Rake::GemPackageTask.new(spec) do |package|
    package.need_tar = true
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
3scale-3scale_ws_api-0.4.8 Rakefile
3scale-3scale_ws_api_for_ruby-0.4.10 Rakefile
3scale-3scale_ws_api_for_ruby-0.4.8 Rakefile
3scale-3scale_ws_api_for_ruby-0.4.9 Rakefile