Sha256: 99ff3cac70deda8538c113585e6dec96684ead9abba06eb71b7b6c3faf86773f

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

# frozen_string_literal: true

begin
  require 'bundler'
rescue LoadError => e
  warn e.message
  warn "Run `gem install bundler` to install Bundler."
  exit e.status_code
end

begin
  Bundler.setup(:development)
rescue Bundler::BundlerError => e
  warn e.message
  warn "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'rake'

require 'rubygems/tasks'
Gem::Tasks.new(sign: {checksum: true, pgp: true})

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
task :test    => :spec
task :default => :spec

namespace :spec do
  RSpec::Core::RakeTask.new(:network) do |t|
    t.rspec_opts = '--tag network'
  end
end

require 'yard'
YARD::Rake::YardocTask.new

require 'kramdown/man/task'
Kramdown::Man::Task.new

require 'command_kit/completion/task'
CommandKit::Completion::Task.new(
  class_file:  'ronin/web/cli',
  class_name:  'Ronin::Web::CLI',
  output_file: 'data/completions/ronin-web'
)

task :setup => %w[man command_kit:completion]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-web-2.0.1 Rakefile
ronin-web-2.0.0 Rakefile
ronin-web-2.0.0.rc1 Rakefile