Sha256: 85ce4443de7efc2cdd42f6872e317ceeb071e3151462ada6b5602b78f483d31a

Contents?: true

Size: 1.57 KB

Versions: 7

Compression:

Stored size: 1.57 KB

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  warn e.message
  warn 'Run `bundle install` to install missing gems'
  exit e.status_code
end
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 = 'cookbook'
  gem.homepage = 'https://gemvein.com/museum/cases/cookbook'
  gem.metadata = { source_code_uri: 'http://github.com/gemvein/cookbook' }
  gem.license = 'MIT'
  gem.summary = %(Mountable Engine to show instructions with components, like a cookbook or instruction manual)
  gem.description = 'Cookbook allows you to associate instructions with components in a cross referenced way. '\
                    'Good for cooking recipes or an instruction manual for DIY projects.'
  gem.email = 'loren.lundgren@gmail.com'
  gem.authors = ['Loren Lundgren']

  # dependencies defined in Gemfile
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 = "cookbook #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cookbook-0.1.6 Rakefile
cookbook-0.1.5 Rakefile
cookbook-0.1.4 Rakefile
cookbook-0.1.3 Rakefile
cookbook-0.1.2 Rakefile
cookbook-0.1.1 Rakefile
cookbook-0.1.0 Rakefile