Sha256: c3b62d67b0f29b387d798d744396bcb51aec999e9ead9a6658c0d9ef554a833d

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

require 'static_cms'

::SITE = StaticCms::Site.new
task default: :generate
desc "Generate all pages."
task generate: SITE.pages.map(&:name)

::SITE.pages.each{|page|
  task page.name do
    page.generate
  end
}

desc "Update templates, sources, statics (and more)."
task :update do
  ::StaticCms::Command.update
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
static_cms-0.1.1 data/site_template/rakefile
static_cms-0.1.0 data/site_template/rakefile
static_cms-0.0.0 data/site_template/rakefile