Using Module::Build::Mojolicious and installing dependancies..

21 views
Skip to first unread message

MarcG

unread,
Mar 20, 2015, 6:58:52 AM3/20/15
to mojol...@googlegroups.com
Hi,

I'm trying to package up a mojolicious App I wrote and have been following the instructions with  Mojolicious::Plugin::InstallablePaths

My Build.PL looks something like this;

---BEGIN----

use Module::Build::Mojolicious clean_install => 1;
 my $builder = Module::Build::Mojolicious->new(

  module_name => 'test',
  dist_author => 'me,
  license => 'perl',

   configure_requires => {
     'Module::Build::Mojolicious' => 0,
     'Module::Build' => 0.38,
   },
   requires => {
                    'File::Find::Rule' => 0,
                    'File::MMagic' => 0,
                    'Mojolicious' => 0,
                    'Mojolicious::Plugin::Authorization' => 0,
                    'Crypt::Blowfish' => 0,
                    'Experimental' => 0,
                },

    share_dir => 'lib/Jacaranda/files',
 );

 $builder->create_build_script;

---END----

My question is how do I get the dependancies to run the script, namely Module::Build::Mojolicious installed without having to install them from cpan manually? 

Many thanks.

                             
Reply all
Reply to author
Forward
0 new messages