Ignore:
Timestamp:
Jul 22, 2011, 3:04:24 PM (5 years ago)
Author:
kostas.karasavvas@…
Message:

Updated to comply new rake 's version tasks (Gem/RDoc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • myexperiment-rest/Rakefile

    r131 r132  
    77require 'rake'
    88require 'rake/clean'
    9 require 'rake/gempackagetask'
    10 require 'rake/rdoctask'
    119require 'rake/testtask'
     10require 'rubygems/package_task'
     11require 'rdoc/task'
    1212
    1313spec = Gem::Specification.new do |s|
     
    2727end
    2828
    29 Rake::GemPackageTask.new(spec) do |p|
     29Gem::PackageTask.new(spec) do |p|
    3030  p.gem_spec = spec
    3131  p.need_tar = true
     
    3333end
    3434
    35 Rake::RDocTask.new do |rdoc|
     35RDoc::Task.new do |rdoc|
    3636  files =['README', 'LICENSE', 'CHANGES', 'lib/**/*.rb']
    3737  rdoc.rdoc_files.add(files)
Note: See TracChangeset for help on using the changeset viewer.