wmakley / hugo-rake-tasks

Rake tasks for Hugo sites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hugo Rake Tasks

Rake tasks for Hugo sites.

Installation

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"

Usage

rake hugo:build
rake hugo:serve
rake hugo:clean
rake hugo:deploy

License

The gem is available as open source under the terms of the MIT License.

About

Rake tasks for Hugo sites

License:MIT License


Languages

Language:Ruby 96.8%Language:Shell 3.2%