Sha256: 0ca24a144793a3dbca12f48c224f858c020d820323432e21b704fb3621822abf
Contents?: true
Size: 1.62 KB
Versions: 1
Compression:
Stored size: 1.62 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.1.1' 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.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,doc,spec,public,views}/**/*") s.require_path = "lib" s.bindir = "bin" s.add_dependency 'sinatra', '~> 1.3.0' 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' 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.1.1 | Rakefile |