Sha256: 4e2f004c8a74c4dad5d181b91a50a1aca7d2eae96579fe1a61cb2c8cbe3a9862

Contents?: true

Size: 945 Bytes

Versions: 3

Compression:

Stored size: 945 Bytes

Contents

# frozen_string_literal: true

begin
  require 'bundler'
rescue LoadError => e
  warn e.message
  warn "Run `gem install bundler` to install Bundler"
  exit(-1)
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

require 'yard'
YARD::Rake::YardocTask.new
task :docs => :yard

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-payloads-0.2.0 Rakefile
ronin-payloads-0.2.0.rc2 Rakefile
ronin-payloads-0.2.0.rc1 Rakefile