Sha256: 3b10a919d167aee6aa8f2750b8a3fdeca2aa9445cabb9dab298921142ca44e2f

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'rake'

require 'juwelier'
Juwelier::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "scout-gear"
  gem.homepage = "http://github.com/mikisvaz/scout-gear"
  gem.license = "MIT"
  gem.summary = %Q{basic gear for scouts}
  gem.description = %Q{Temporary files, logs, etc.}
  gem.email = "mikisvaz@gmail.com"
  gem.authors = ["Miguel Vazquez"]

  # Include your dependencies below. Runtime dependencies are required when using your gem,
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
  #  gem.add_runtime_dependency 'jabber4r', '> 0.1'
  #  gem.add_development_dependency 'rspec', '> 1.2.3'
  gem.add_runtime_dependency 'term-ansicolor'

  gem.add_development_dependency "rdoc", "~> 3.12"
  gem.add_development_dependency "bundler", "~> 1.0"
  gem.add_development_dependency "juwelier", "~> 2.1.0"
  gem.add_development_dependency "simplecov", ">= 0"
end
Juwelier::RubygemsDotOrgTasks.new

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

desc "Code coverage detail"
task :simplecov do
  ENV['COVERAGE'] = "true"
  Rake::Task['test'].execute
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 = "scout-gear #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
  rdoc.rdoc_files.include('../modules/rbbt-util/lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scout-gear-5.1.1 Rakefile
scout-gear-2.0.0 Rakefile