Sha256: 7041431058c68c90ccf447d1890c357c99a87d7f0594f0bf896521e8a494287d
Contents?: true
Size: 514 Bytes
Versions: 12
Compression:
Stored size: 514 Bytes
Contents
# require 'bundler/gem_tasks' require 'structured_changelog' desc 'Validate your Structured Changelog' task 'changelog:validate', [:path] do |_task, arguments| path = arguments.to_h.fetch(:path) { "CHANGELOG.md" } puts "\e[32mValid #{path}\e[0m" if StructuredChangelog.new(path).validate end # if (guard_clean_task = Rake::Task['release:guard_clean']) # guard_clean_task.enhance(['changelog:validate']) # elsif (release_task = Rake::Task['release']) # release_task.enhance(['changelog:validate']) # end
Version data entries
12 entries across 12 versions & 1 rubygems