# This Build.PL for Test-Mojo-Phantom was generated by mbtiny 0.009.
use 5.006;
use Module::Build::Tiny 0.007;
use IPC::Cmd 'can_run';

unless (can_run 'phantomjs') {
  warn "phantomjs executable is required to install Mojo::Phantom.\n";
  warn "Please visit http://phantomjs.org/ to download or use your system's package manager.\n";
  exit 0+!$ENV{AUTOMATED_TESTING}; # exit 0 on cpan testers, non-zero elsewise
}

Build_PL();