github-changelog-generator/Rakefile

20 lines
542 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-02-23 15:44:16 +00:00
require "bundler"
2015-10-02 21:14:19 +00:00
require "bundler/gem_tasks"
require "rubocop/rake_task"
require "rspec/core/rake_task"
2015-10-02 21:14:19 +00:00
require "pathname"
require "fileutils"
2016-02-23 10:38:27 +00:00
require "overcommit"
2014-12-03 09:30:26 +00:00
2015-03-26 13:33:56 +00:00
RuboCop::RakeTask.new
2017-10-04 07:06:49 +00:00
RSpec::Core::RakeTask.new
2015-03-26 13:33:56 +00:00
desc "When releasing the gem, re-fetch latest cacert.pem from curl.haxx.se. Developer task."
task :update_ssl_ca_file do
`pushd lib/github_changelog_generator/ssl_certs && curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem && popd`
2015-10-02 21:14:19 +00:00
end
2017-10-04 07:06:49 +00:00
task default: %i[rubocop spec]