| 1 |
require "bundler/gem_tasks" |
| 2 |
require 'github_changelog_generator/task' |
| 3 |
|
| 4 |
require 'rspec/core/rake_task' |
| 5 |
RSpec::Core::RakeTask.new(:spec) |
| 6 |
|
| 7 |
task :default => :spec |
| 8 |
|
| 9 |
desc "Generate code coverage" |
| 10 |
task :coverage do |
| 11 |
ENV['COVERAGE'] = 'true' |
| 12 |
Rake::Task["spec"].execute |
| 13 |
end |
| 14 |
|
| 15 |
desc "Open a Pry console for this library" |
| 16 |
task :console do |
| 17 |
require 'pry' |
| 18 |
require 'net/ntlm' |
| 19 |
ARGV.clear |
| 20 |
Pry.start |
| 21 |
end |
| 22 |
|
| 23 |
GitHubChangelogGenerator::RakeTask.new :changelog do |config| |
| 24 |
config.future_release = Net::NTLM::VERSION::STRING |
| 25 |
end |