diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-07 00:59:01 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-07 00:59:01 -0500 |
commit | 90a45f9729f131569889f52cf792007f23df3949 (patch) | |
tree | 3a7297268da2f4fd81749c4e724faaa7a8f0f047 /make | |
parent | add2ce8c856d99a2f4cc0bbd4f630cc9aeb2ef05 (diff) |
tidy
Diffstat (limited to 'make')
-rwxr-xr-x | make | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +#!/usr/bin/env ruby +$:.unshift('lib') +require 'sitegen' +require 'page_index' + +# Initialize the site generator +Sitegen::init + +# This should trigger a full recursive crawl, loadng everything into +# the sitegen. +IndexPage::new('src').local_input + +# Tell the sitegen which files we want +Sitegen.pages.each do |page| + Sitegen::want(page.local_outfile) +end +Sitegen::want('out/index.atom') + +# Make! +print Sitegen::make(:all) |