Show how to use it with Rakefile

It was missing the require statement.
This commit is contained in:
Eduardo de Santana Medeiros Alexandre 2016-07-18 13:58:26 -03:00
parent f6fcac7aff
commit 1c48f633d8

View File

@ -138,6 +138,8 @@ we've provided a `rake` task library for your changelog generation.
Just put something like this in your `Rakefile`: Just put something like this in your `Rakefile`:
```ruby ```ruby
require 'github_changelog_generator/task'
GitHubChangelogGenerator::RakeTask.new :changelog do |config| GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.since_tag = '0.1.14' config.since_tag = '0.1.14'
config.future_release = '0.2.0' config.future_release = '0.2.0'