From 1a619c6aa6d48b622fff481d63d351f1205a52f6 Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Fri, 14 Oct 2022 18:58:36 -0700 Subject: [PATCH] Makefile --- Makefile.PL | 12 ++++++++++++ mojo.pl | 12 ------------ t/basic.t | 2 +- templates/layouts/default.html.ep | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 Makefile.PL delete mode 100644 mojo.pl 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 %>