[Templates-cvs] cvs commit: Template2/bin ttree
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 06/04/05 17:07:21
Modified: bin ttree
Log:
* added AppConfig EXPAND => EXPAND_ALL option to perl5lib,
template_plugin_base, template_compile_dir and depend_file
configuration options to allow them to contain ~ to indicate
the user's home directory, as per the other path specific
options
Revision Changes Path
2.83 +9 -9 Template2/bin/ttree
Index: ttree
===================================================================
RCS file: /template-toolkit/Template2/bin/ttree,v
retrieving revision 2.82
retrieving revision 2.83
diff -u -r2.82 -r2.83
--- ttree 2006/01/30 20:02:50 2.82
+++ ttree 2006/04/05 17:07:21 2.83
@@ -23,7 +23,7 @@
#
#------------------------------------------------------------------------
#
-# $Id: ttree,v 2.82 2006/01/30 20:02:50 abw Exp $
+# $Id: ttree,v 2.83 2006/04/05 17:07:21 abw Exp $
#
#========================================================================
@@ -37,7 +37,7 @@
use Text::ParseWords qw(quotewords);
my $NAME = "ttree";
-my $VERSION = sprintf("%d.%02d", q$Revision: 2.82 $ =~ /(\d+)\.(\d+)/);
+my $VERSION = sprintf("%d.%02d", q$Revision: 2.83 $ =~ /(\d+)\.(\d+)/);
my $HOME = $ENV{ HOME } || '';
my $RCFILE = $ENV{"\U${NAME}rc"} || "$HOME/.${NAME}rc";
my $TTMODULE = 'Template';
@@ -525,8 +525,8 @@
'copy=s@',
'accept=s@',
'depend=s%',
- 'depend_file|depfile=s',
'depend_debug|depdbg',
+ 'depend_file|depfile=s' => { EXPAND => EXPAND_ALL },
'template_module|module=s',
'template_anycase|anycase',
'template_eval_perl|eval_perl',
@@ -548,9 +548,9 @@
'template_end_tag|end_tag|endtag=s',
'template_tag_style|tag_style|tagstyle=s',
'template_compile_ext|compile_ext=s',
- 'template_compile_dir|compile_dir=s',
- 'template_plugin_base|plugin_base|pluginbase=s@',
- 'perl5lib|perllib=s@'
+ 'template_compile_dir|compile_dir=s' => { EXPAND => EXPAND_ALL },
+ 'template_plugin_base|plugin_base|pluginbase=s@' => { EXPAND => EXPAND_ALL },
+ 'perl5lib|perllib=s@' => { EXPAND => EXPAND_ALL },
);
# add the 'file' option now that we have a $config object that we
@@ -1055,12 +1055,12 @@
=head1 VERSION
-2.65, distributed as part of the
-Template Toolkit version 2.15, released on 30 January 2006.
+2.66, distributed as part of the
+Template Toolkit version 2.14a, released on 02 February 2006.
=head1 COPYRIGHT
- Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved.
+ Copyright (C) 1996-2006 Andy Wardley. All Rights Reserved.
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This module is free software; you can redistribute it and/or