Sha256: 944f8dd59d88790af1f944e10f7c16bace06a1b6d84659a67e84917f2cae86db

Contents?: true

Size: 689 Bytes

Versions: 6

Compression:

Stored size: 689 Bytes

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 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
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 = "RbST #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
RbST-0.6.5 Rakefile
RbST-0.6.4 Rakefile
RbST-0.6.3 Rakefile
RbST-0.6.2 Rakefile
RbST-0.6.1 Rakefile
RbST-0.6.0 Rakefile