Compare commits

...
Author SHA1 Message Date
Graham Ollis 54d13555ef Merge branch 'master' of github.com:abh/mojox-renderer-tt 2012-08-31 08:18:19 -04:00
Graham Ollis d6d98cc533 fix for win32 2012-08-31 08:18:01 -04:00
2 changed files with 8 additions and 2 deletions
+4
View File
@@ -1,6 +1,10 @@
Revision history for Mojolicious::Plugin::TtRenderer
{{$NEXT}}
- Windows compatability with Cwd::abs_path
1.25 August 25, 2012
- Return 0 on not found, die on error (GH#30)
1.24 August 23, 2012
- Compatibility with Mojolicious 3.33+
+4 -2
View File
@@ -40,9 +40,11 @@ sub _init {
# TODO
# take and process options :-)
my @renderer_paths = $app ? map { abs_path($_) } grep { -d $_ } @{ $app->renderer->paths } : ();
my %config = (
( $app
? (INCLUDE_PATH => (join ":", map { abs_path($_) } @{$app->renderer->paths}))
( @renderer_paths > 0
? (INCLUDE_PATH => join(":", @renderer_paths))
: ()
),
COMPILE_EXT => '.ttc',