Sha256: 77d86402fed6b39cad22c4e4fb49a0f172cc2261f4c0eae914ce71d6505cd30c

Contents?: true

Size: 1.78 KB

Versions: 44

Compression:

Stored size: 1.78 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "trinitycrmod"
  gem.homepage = "http://github.com/edmundhighcock/trinitycrmod"
  gem.license = "GPLv3"
  gem.summary = %Q{CodeRunner module for the Trinity simulation software.}
  gem.description = %Q{This module allows Trinity, the Multiscale Gyrokinetic Turbulent Transport solver for Fusion Reactors, to harness the power of CodeRunner, a framework for the automated running and analysis of simulations.}
  gem.email = "edmundhighcock@sourceforge.net"
  gem.authors = ["Edmund Highcock"]
	gem.files.exclude 'test/**/*'
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

Rake::TestTask.new(:sync_variables) do |test|
  test.libs << 'lib' << 'sync_variables'
  test.pattern = 'sync_variables/sync_variables.rb'
  test.verbose = true
end
    

#require 'rcov/rcovtask
#Rcov::RcovTask.new do |test|
  ##test.libs << 'test'
  ##test.pattern = 'test/**/test_*.rb'
  ##test.verbose = true
  ##test.rcov_opts << '--exclude "gems/*"'
##end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "trinitycrmod #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
trinitycrmod-0.7.3 Rakefile
trinitycrmod-0.7.2 Rakefile
trinitycrmod-0.7.1 Rakefile
trinitycrmod-0.7.0 Rakefile
trinitycrmod-0.6.9 Rakefile
trinitycrmod-0.6.8 Rakefile
trinitycrmod-0.6.7 Rakefile
trinitycrmod-0.6.6 Rakefile
trinitycrmod-0.6.5 Rakefile
trinitycrmod-0.6.4 Rakefile
trinitycrmod-0.6.3 Rakefile
trinitycrmod-0.6.2 Rakefile
trinitycrmod-0.6.1 Rakefile
trinitycrmod-0.6.0 Rakefile
trinitycrmod-0.5.8 Rakefile
trinitycrmod-0.5.7 Rakefile
trinitycrmod-0.5.6 Rakefile
trinitycrmod-0.5.5 Rakefile
trinitycrmod-0.5.4 Rakefile
trinitycrmod-0.5.3 Rakefile