Sha256: a69ef7faaffd04cfaeb97f0c401f478ab325b5c496405c729d02b748f791ba12
Contents?: true
Size: 876 Bytes
Versions: 12
Compression:
Stored size: 876 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'github_changelog_generator/task' require 'yard' GitHubChangelogGenerator::RakeTask.new :changelog do |config| config.future_release = "v#{Awskeyring::VERSION}" end RuboCop::RakeTask.new do |rubocop| rubocop.options = ['-D'] end RSpec::Core::RakeTask.new(:spec) desc 'Check filemode bits' task :filemode do files = `git ls-files -z`.split("\x0") failure = false files.each do |file| mode = File.stat(file).mode print '.' if (mode & 0x7) != (mode >> 3 & 0x7) puts file failure = true end end abort 'Error: Incorrect file mode found' if failure print "\n" end YARD::Rake::YardocTask.new do |t| t.options = ['--fail-on-warning', '--no-progress'] t.stats_options = ['--list-undoc'] end task default: %i[filemode rubocop spec yard]
Version data entries
12 entries across 12 versions & 1 rubygems