/[Frey]/trunk/bin/frey
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/frey

Parent Directory Parent Directory | Revision Log Revision Log


Revision 267 - (show annotations)
Wed Nov 5 08:20:37 2008 UTC (15 years, 4 months ago) by dpavlin
File size: 561 byte(s)
 r3085@llin (orig r231):  dpavlin | 2008-11-01 14:20:25 +0100
 Mojolicous skeleton
 
 mojolicious generate app Frey::Mojo

1 #!/usr/bin/perl
2
3 # Copyright (C) 2008, Sebastian Riedel.
4
5 use strict;
6 use warnings;
7
8 use FindBin;
9
10 use lib "$FindBin::Bin/lib";
11 use lib "$FindBin::Bin/../lib";
12 use lib "$FindBin::Bin/../../lib";
13
14 $ENV{MOJO_APP} = 'Frey::Mojo';
15
16 # Check if Mojo is installed
17 eval 'use Mojolicious::Scripts';
18 if ($@) {
19 print <<EOF;
20 It looks like you don't have the Mojo Framework installed.
21 Please visit http://getmojo.kraih.com for detailed installation instructions.
22
23 EOF
24 exit;
25 }
26
27 # Start the script system
28 my $scripts = Mojolicious::Scripts->new;
29 $scripts->run(@ARGV);

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26