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

Annotation of /bin/sys_iface

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Tue Jun 16 19:33:55 2009 UTC (14 years, 10 months ago) by dpavlin
File size: 562 byte(s)
mojolicious generate app SysIface
1 dpavlin 1 #!/usr/bin/perl
2    
3     # Copyright (C) 2008-2009, 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} = 'SysIface';
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://mojolicious.org 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