Makefile
This commit is contained in:
parent
74a40d8e7f
commit
1a619c6aa6
|
@ -0,0 +1,12 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
use ExtUtils::MakeMaker;
|
||||||
|
|
||||||
|
WriteMakefile(
|
||||||
|
VERSION => '0.01',
|
||||||
|
PREREQ_PM => {
|
||||||
|
'Mojolicious' => '9.27'
|
||||||
|
},
|
||||||
|
test => {TESTS => 't/*.t'}
|
||||||
|
);
|
12
mojo.pl
12
mojo.pl
|
@ -1,12 +0,0 @@
|
||||||
use strict;
|
|
||||||
use warnings FATAL => 'all';
|
|
||||||
use Mojolicious::Lite -signatures;
|
|
||||||
|
|
||||||
app->start;
|
|
||||||
__DATA__
|
|
||||||
|
|
||||||
@@ magic.html.ep
|
|
||||||
<html>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,6 @@ use Test::More;
|
||||||
use Test::Mojo;
|
use Test::Mojo;
|
||||||
|
|
||||||
my $t = Test::Mojo->new('unix_dog');
|
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();
|
done_testing();
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<%= content %>
|
<%= content %>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<span class="copyleft">©</span> Copyleft UNIX.dog, 2022. All pages licensed under CC BY-NC-SA 4.0.
|
<span class="copyleft">©</span> <a href="https://git.unix.dog/nullobsi/website">Copyleft</a> UNIX.dog, 2022. All pages licensed under CC BY-NC-SA 4.0.
|
||||||
<br>
|
<br>
|
||||||
Please follow <a href="/rules">all rules</a> while using these services.
|
Please follow <a href="/rules">all rules</a> while using these services.
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue