Sha256: 9afc79d52e31d6827d341594c998752e9b03ffcfd4b7884479d59efae3a247ea
Contents?: true
Size: 1.07 KB
Versions: 6
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop//rake_task' require 'yard' require 'yard/rake/yardoc_task' require 'code_statistics' RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) task default: :spec require 'version' require 'rake/version_task' Rake::VersionTask.new YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', '-', 'doc/**/*', 'spec/**/*_spec.rb'] t.options += ['-o', 'yardoc'] end YARD::Config.load_plugin('yard-rspec') namespace :yardoc do task :clobber do begin rm_r 'yardoc' rescue StandardError nil end begin rm_r '.yardoc' rescue StandardError nil end begin rm_r 'pkg' rescue StandardError nil end end end task clobber: 'yardoc:clobber' desc 'Run CVE security audit over bundle' task :audit do system('bundle audit') end desc 'Run dead line of code detection' task :debride do system('debride -w .debride_withelist .') end desc 'Run SBOM CycloneDX Xml format file' task :sbom do system('cyclonedx-ruby -p .') end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
carioca-2.1.10 | Rakefile |
carioca-2.1.9 | Rakefile |
carioca-2.1.8 | Rakefile |
carioca-2.1.7 | Rakefile |
carioca-2.1.6 | Rakefile |
carioca-2.1.5 | Rakefile |