Sha256: 94a1a05f6e63b13bedcc28f09aec62d0feac1fe54235630a19103e3405fa40eb
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
# # To change this template, choose Tools | Templates # and open the template in the editor. require 'rubygems' require 'rake' require 'rake/clean' require 'rake/testtask' require 'rubygems/package_task' require 'rdoc/task' spec = Gem::Specification.new do |s| s.name = 't2-web' s.version = '0.0.5' s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES'] s.summary = 'WS (with libs) that generates a Web UI form for a Taverna2 workflow and then enacts it to a T2 server.' s.description = s.summary s.author = 'Kostas Karasavvas' s.email = 'kostas.karasavvas@nbic.nl' s.executables = ['t2_webapp.rb'] s.files = %w(LICENSE README CHANGES Rakefile) + Dir.glob("{bin,lib,spec,public,views}/**/*") s.require_path = "lib" s.bindir = "bin" s.add_dependency 'sinatra', '~> 1.2.6' s.add_dependency 'haml', '~> 3.1.2' s.add_dependency 'rest-client', '~> 1.6.3' s.add_dependency 't2-server', '~> 0.6.1' s.add_dependency 'myexperiment-rest', '~> 0.3.0' end Gem::PackageTask.new(spec) do |p| p.gem_spec = spec p.need_tar = true p.need_zip = true end RDoc::Task.new do |rdoc| files =['README', 'LICENSE', 'CHANGES', 'lib/**/*.rb'] rdoc.rdoc_files.add(files) rdoc.main = "README" # page to start on rdoc.title = "web-t2 Docs" rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder rdoc.options << '--line-numbers' end Rake::TestTask.new do |t| t.test_files = FileList['test/**/*.rb'] end # make gem and copy to test deployment server task :copy_to_server => :gem do `scp pkg/#{spec.name}-#{spec.version}.gem kostas@mybiobank.org:/home/kostas` end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
t2-web-0.0.5 | Rakefile |