diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-20 03:28:50 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:58 +0200 |
commit | e1b48df3b5cdd81920782a8585864af3b294e919 (patch) | |
tree | 13bb7c184950b6f1d911e387bbff817e42d1ee2d /bugzilla.pl | |
parent | 561a205df8fdb1950df167c6915d52601630c08a (diff) | |
download | bugzilla-e1b48df3b5cdd81920782a8585864af3b294e919.tar.gz bugzilla-e1b48df3b5cdd81920782a8585864af3b294e919.tar.xz |
lots of hacking
Diffstat (limited to 'bugzilla.pl')
-rwxr-xr-x | bugzilla.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bugzilla.pl b/bugzilla.pl new file mode 100755 index 000000000..505b44982 --- /dev/null +++ b/bugzilla.pl @@ -0,0 +1,18 @@ +#!/usr/bin/env perl +use 5.10.1; +use strict; +use warnings; + +use File::Basename qw(basename dirname); +use File::Spec::Functions qw(catdir); +use Cwd qw(realpath); + +BEGIN { + require lib; + my $dir = realpath( dirname(__FILE__) ); + lib->import( $dir, catdir( $dir, 'lib' ), catdir( $dir, qw(local lib perl5) ) ); +} +use Mojolicious::Commands; + +# Start command line interface for application +Mojolicious::Commands->start_app('Bugzilla::Quantum'); |