Rake tasks for Hugo sites.
Add this line to your application's Gemfile:
gem 'hugo-rake-tasks', git: 'https://github.com/tortus/hugo-rake-tasks.git'And then execute:
$ bundle
In your Rakefile:
require 'hugo-rake/tasks'
# If you want running "rake" to build the site:
task :default => "hugo:build"rake hugo:build
rake hugo:serve
rake hugo:clean
rake hugo:deployThe gem is available as open source under the terms of the MIT License.