root/webt2/trunk/Rakefile @ 126

Revision 126, 1.2 KB (checked in by kostas.karasavvas@…, 3 years ago)

final restucturing!

Line 
1#
2# To change this template, choose Tools | Templates
3# and open the template in the editor.
4 
5
6require 'rubygems'
7require 'rake'
8require 'rake/clean'
9require 'rake/gempackagetask'
10require 'rake/rdoctask'
11require 'rake/testtask'
12
13spec = Gem::Specification.new do |s|
14  s.name = 'web-t2'
15  s.version = '0.0.2'
16  s.has_rdoc = true
17  s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
18  s.summary = 'WS (with libs) that generates a Web UI form for a Taverna2 workflow and then enacts it to a T2 server.'
19  s.description = s.summary
20  s.author = 'Kostas Karasavvas'
21  s.email = 'kostas.karasavvas@nbic.nl'
22  s.executables = ['web_t2_service.rb']
23  s.files = %w(LICENSE README CHANGES Rakefile) + Dir.glob("{bin,lib,spec,public,views}/**/*")
24  s.require_path = "lib"
25  s.bindir = "bin"
26end
27
28Rake::GemPackageTask.new(spec) do |p|
29  p.gem_spec = spec
30  p.need_tar = true
31  p.need_zip = true
32end
33
34Rake::RDocTask.new do |rdoc|
35  files =['README', 'LICENSE', 'lib/**/*.rb']
36  rdoc.rdoc_files.add(files)
37  rdoc.main = "README" # page to start on
38  rdoc.title = "web-t2 Docs"
39  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
40  rdoc.options << '--line-numbers'
41end
42
43Rake::TestTask.new do |t|
44  t.test_files = FileList['test/**/*.rb']
45end
Note: See TracBrowser for help on using the browser.