evolving - Saturday 7th June, 2003

richardc on 2003-06-14T21:21:48

Spent most of the day fiddling with Mariachi. I added template pagination in, and chewed over most of the generation process to make it less monolithic.

Simon added in AppConfig usage, for configuration handling, so I abused that to add in template path specification, and then file copying. Now you can say:

 mariachi --templates foo

And not only will it use the templates in foo in preference over the global ones, it'll copy over any files that don't match *.tt2 into the output directory. It's the quick and easy way to get images or css included in the output, so you can more easily change the style of the output.

Just those few things had an astounding effect on our TODO list, so expect a new CPAN release of that pretty soon now.