Permalink
Browse files

change tags to [d2% %2d]

  • Loading branch information...
1 parent 9efede3 commit ff4a24147fc5ef7c110af5d871a8ac1ad57e6b6a @jasonblewis jasonblewis committed with cromedome Apr 9, 2016
@@ -8,9 +8,9 @@ my $eumm_version = $ExtUtils::MakeMaker::VERSION;
$eumm_version =~ s/_//;
WriteMakefile(
- NAME => '[% appname %]',
+ NAME => '[d2% appname %2d]',
AUTHOR => q{YOUR NAME <youremail@example.com>},
- VERSION_FROM => '[% appfile %]',
+ VERSION_FROM => '[d2% appfile %2d]',
ABSTRACT => 'YOUR APPLICATION ABSTRACT',
($eumm_version >= 6.3001
? ('LICENSE'=> 'perl')
@@ -19,8 +19,8 @@ WriteMakefile(
PREREQ_PM => {
'Test::More' => 0,
'YAML' => 0,
- 'Dancer2' => [% dancer_version %],
+ 'Dancer2' => [d2% dancer_version %2d],
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => '[% cleanfiles %]-*' },
+ clean => { FILES => '[d2% cleanfiles %2d]-*' },
);
@@ -5,5 +5,5 @@ use warnings;
use FindBin;
use lib "$FindBin::Bin/../lib";
-use [% appname %];
-[% appname %]->to_app;
+use [d2% appname %2d];
+[d2% appname %2d]->to_app;
@@ -3,7 +3,7 @@
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
-appname: "[% appname %]"
+appname: "[d2% appname %2d]"
# The default layout to use for your application (located in
# views/layouts/main.tt)
View
@@ -1,4 +1,4 @@
-requires "Dancer2" => "[% dancer_version %]";
+requires "Dancer2" => "[d2% dancer_version %2d]";
recommends "YAML" => "0";
recommends "URL::Encode::XS" => "0";
@@ -1,4 +1,4 @@
-package [% appname %];
+package [d2% appname %2d];
use Dancer2;
our $VERSION = '0.1';
@@ -1,4 +1,4 @@
-[% perl_interpreter %]
+[d2% perl_interpreter %2d]
BEGIN { $ENV{DANCER_APPHANDLER} = 'PSGI';}
use Dancer2;
use FindBin '$RealBin';
@@ -1,4 +1,4 @@
-[% perl_interpreter %]
+[d2% perl_interpreter %2d]
BEGIN { $ENV{DANCER_APPHANDLER} = 'PSGI';}
use Dancer2;
use FindBin '$RealBin';
@@ -2,4 +2,4 @@ use strict;
use warnings;
use Test::More tests => 1;
-use_ok '[% appname %]';
+use_ok '[d2% appname %2d]';
@@ -1,12 +1,12 @@
use strict;
use warnings;
-use [% appname %];
+use [d2% appname %2d];
use Test::More tests => 2;
use Plack::Test;
use HTTP::Request::Common;
-my $app = [% appname %]->to_app;
+my $app = [d2% appname %2d]->to_app;
is( ref $app, 'CODE', 'Got app' );
my $test = Plack::Test->create($app);
@@ -40,7 +40,7 @@
<h3>Your application's environment</h3>
<ul>
- <li>Location: <span class="filepath">[% appdir %]</span></li>
+ <li>Location: <span class="filepath">[d2% appdir %2d]</span></li>
<li>Template engine: <span class="app-info"><% settings.template %></span></li>
<li>Logger: <span class="app-info"><% settings.logger %></span></li>
<li>Environment: <span class="app-info"><% settings.environment %></span></li>
@@ -80,7 +80,7 @@
</tr>
<tr>
<td>Appdir</td>
- <td><span class="filepath">[% appdir %]</span></td>
+ <td><span class="filepath">[d2% appdir %2d]</span></td>
</tr>
<tr>
<td>Template engine</td>
@@ -128,7 +128,7 @@
it's just here to help you get started. The template used to
generate this content is located in
<span class="filepath">views/index.tt</span>.
- You can add some routes to <span class="filepath">[% appfile %]</span>.
+ You can add some routes to <span class="filepath">[d2% appfile %2d]</span>.
</p>
</li>
@@ -3,7 +3,7 @@
<head>
<meta charset="<% settings.charset %>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
- <title>[% appname %]</title>
+ <title>[d2% appname %2d]</title>
<link rel="stylesheet" href="<% request.uri_base %>/css/style.css">
<!-- Grab jQuery from a CDN, fall back to local if necessary -->

0 comments on commit ff4a241

Please sign in to comment.