Changeset 140 for t2-web/trunk/Rakefile

Show
Ignore:
Timestamp:
27-07-11 16:45:53 (3 years ago)
Author:
kostas.karasavvas@…
Message:

Cleaning up... ready to tag 0.0.2 version (early alpha with divs in the result page)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t2-web/trunk/Rakefile

    r126 r140  
    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| 
    14   s.name = 'web-t2' 
     14  s.name = 't2-web' 
    1515  s.version = '0.0.2' 
    16   s.has_rdoc = true 
    1716  s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES'] 
    1817  s.summary = 'WS (with libs) that generates a Web UI form for a Taverna2 workflow and then enacts it to a T2 server.' 
     
    2625end 
    2726 
    28 Rake::GemPackageTask.new(spec) do |p| 
     27Gem::PackageTask.new(spec) do |p| 
    2928  p.gem_spec = spec 
    3029  p.need_tar = true 
     
    3231end 
    3332 
    34 Rake::RDocTask.new do |rdoc| 
    35   files =['README', 'LICENSE', 'lib/**/*.rb'] 
     33RDoc::Task.new do |rdoc| 
     34  files =['README', 'LICENSE', 'CHANGES', 'lib/**/*.rb'] 
    3635  rdoc.rdoc_files.add(files) 
    3736  rdoc.main = "README" # page to start on