mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2024-12-04 10:34:46 +02:00
24 lines
475 B
Perl
24 lines
475 B
Perl
|
#!/usr/bin/env perl
|
||
|
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
|
||
|
use File::Basename 'dirname';
|
||
|
use File::Spec;
|
||
|
|
||
|
use English -no_match_vars;
|
||
|
|
||
|
use lib File::Spec->catfile( File::Spec->splitdir( dirname( __FILE__ ) ), 'lib' );
|
||
|
|
||
|
eval 'use Mojolicious::Commands';
|
||
|
|
||
|
die <<EOF if $EVAL_ERROR;
|
||
|
It looks like you don't have the Mojolicious Framework installed.
|
||
|
Please visit http://mojolicio.us for detailed installation instructions.
|
||
|
|
||
|
EOF
|
||
|
|
||
|
$ENV{ MOJO_APP } = 'Explain';
|
||
|
|
||
|
Mojolicious::Commands->start;
|