Sha256: 31dc1068e24c65ba2620ca96377f1e71680c0c7f5326c6804f5d0a20ccb3957f
Contents?: true
Size: 1.75 KB
Versions: 1
Compression:
Stored size: 1.75 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.2.0' s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES'] s.summary = 'Web application that generates a Web UI form for a Taverna2 workflow, given its myExperiment id, for ease of execution. The only requirement for the user is a web browser.' s.description = s.summary s.authors = ['Kostas Karasavvas','Mark Thompson', 'Reinout van Schouwen'] s.email = 'mark9630@gmail.com' s.executables = ['t2-web'] s.files = %w(LICENSE README CHANGES Rakefile Gemfile Gemfile.lock) + Dir.glob("{bin,lib,doc,spec,public,views}/**/*") s.require_path = "lib" s.bindir = "bin" s.add_dependency 'sinatra', '~> 1.3.0' s.add_dependency 'thin', '~> 1.2.11' 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.3' s.add_dependency 'nokogiri', '~> 1.5.9' 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.2.0 | Rakefile |