Skip to content

Commit

Permalink
better Hypnotoad and Morbo test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 6, 2012
1 parent 1d62d91 commit 700d238
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/hypnotoad
Expand Up @@ -6,7 +6,7 @@ use warnings;
use File::Basename 'dirname';
use File::Spec;

# Testing
push @INC, join('/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib');
unshift @INC, join('/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib')
if $ENV{TEST_MORBO};

Expand Down
2 changes: 2 additions & 0 deletions script/mojo
Expand Up @@ -6,6 +6,8 @@ use warnings;
use File::Basename 'dirname';
use File::Spec;

push @INC, join('/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib');

# Check if Mojolicious is installed
die <<EOF unless eval 'use Mojolicious::Commands; 1';
It looks like you don't have the Mojolicious framework installed.
Expand Down
2 changes: 1 addition & 1 deletion script/morbo
Expand Up @@ -6,7 +6,7 @@ use warnings;
use File::Basename 'dirname';
use File::Spec;

# Testing
push @INC, join('/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib');
unshift @INC, join('/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib')
if $ENV{TEST_HYPNOTOAD};

Expand Down

0 comments on commit 700d238

Please sign in to comment.