#!/usr/bin/env perl
use warnings;
use strict;
use UNIVERSAL::require;

BEGIN {
    Jifty::Util->require or die $UNIVERSAL::require::ERROR;
    my $root = Jifty::Util->app_root(quiet => 1);
    unshift @INC, "$root/lib" if ($root);
}

use Jifty;
use Jifty::Script;

local $SIG{INT} = sub { warn "Stopped\n"; exit; };
Jifty::Script->dispatch();
