diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..32b4073 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,12 @@ +use strict; +use warnings; + +use ExtUtils::MakeMaker; + +WriteMakefile( + VERSION => '0.01', + PREREQ_PM => { + 'Mojolicious' => '9.27' + }, + test => {TESTS => 't/*.t'} +); diff --git a/mojo.pl b/mojo.pl deleted file mode 100644 index 0c9c598..0000000 --- a/mojo.pl +++ /dev/null @@ -1,12 +0,0 @@ -use strict; -use warnings FATAL => 'all'; -use Mojolicious::Lite -signatures; - -app->start; -__DATA__ - -@@ magic.html.ep - - - - diff --git a/t/basic.t b/t/basic.t index 19504f6..8739e55 100644 --- a/t/basic.t +++ b/t/basic.t @@ -4,6 +4,6 @@ use Test::More; use Test::Mojo; my $t = Test::Mojo->new('unix_dog'); -$t->get_ok('/')->status_is(200)->content_like(qr/Mojolicious/i); +$t->get_ok('/')->status_is(200)->content_like(qr/UNIX.dog/i); done_testing(); diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index ca16d27..3a81932 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -24,7 +24,7 @@ <%= content %>