Looks good Mike, I wish I'd known about it earlier because I'm pretty much at the same stage you're at with it. Rendering files using Tilt, copying static assets etc. I've added some additional functionality with Jammit for asset packaging as well, it automatically runs after Guard detects a change.
I might stick with my version just for the time being as we're going to be using it internally where I work and I'll have quite a bit of additional functionality in the form of an admin section for controlling asset load order, JS library inclusion etc through a nice web based UI so the other front end devs don't have to get their hands dirty editing YAML files etc. Still, Pith would have been an excellent base to start with :( How did you handle re-rendering the parents of included templates? Samuel Richardson www.richardson.co.nz | 0405 472 748 On Mon, Sep 5, 2011 at 6:29 PM, Mike Williams <[email protected]> wrote: > On 05/09/2011, at 3:44 PM, Samuel Richardson wrote: > > A template that embeds a head partial. When I render the template, I > automatically pick up the header. The trouble I've got is going the > other direction. When I edit header, I want it to update all the > templates it's embedded in. > > > ... I don't want to re-render _all_ the templates every > > time a change is made, just the altered file. > > > Hi Samuel. > > I rolled my own yet-another-static-website-generator last year. I think it > might tick the boxes you're after: > > > - Based on Tilt > - Template inclusion/nesting, supporting both "partials" and "layouts" > - Incremental rebuild when an included template changes - ie. it > regenerates the affected outputs, and no more. > > > Check it out. It's called "Pith", and can be found at: > > https://github.com/mdub/pith > > -- > cheers, > Mike Williams > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
