~rjpcasalino/bss

2251c81dbe486c99d9e20c847d088b6d2fa6428f — rjpc 5 months ago 7ee50da
trying to make nixos happy and avoid adding a small plugin
3 files changed, 5 insertions(+), 3 deletions(-)

M Makefile.PL
M bss.pl
M lib/Markdown.pm
M Makefile.PL => Makefile.PL +0 -1
@@ 6,7 6,6 @@ version '0.1';
requires 'Config::IniFiles';
requires 'DateTime';
requires 'Template::Toolkit';
requires 'Template::Plugin::Markdown';
requires 'Text::Markdown';
requires 'YAML';


M bss.pl => bss.pl +3 -1
@@ 81,13 81,15 @@ sub do_build {
        INTERPOLATE  => undef,
        EVAL_PERL    => undef,
        RELATIVE     => undef,
        ENCODING     => undef
        ENCODING     => undef,
        PLUGIN_BASE  => undef
    };

    # set template toolkit options
    $config{TT_CONFIG}->{INCLUDE_PATH} = $config{TT_DIR};
    $config{TT_CONFIG}->{ENCODING}     = $config{ENCODING};
    $config{TT_CONFIG}->{EVAL_PERL}    = $config{EVAL_PERL};
    $config{TT_CONFIG}->{PLUGINS}      = { Markdown => 'Template::Plugin::Markdown' };

    my $debug_tt_config = Dumper($config{TT_CONFIG});


M lib/Markdown.pm => lib/Markdown.pm +2 -1
@@ 1,4 1,5 @@
#$Id: Markdown.pm,v 1.3 2005/11/12 03:28:09 naoya Exp $
# TODO:
# give credit to OG author
package Template::Plugin::Markdown;
use strict;
use base qw (Template::Plugin::Filter);