New build script to install dependencies automatically
This commit is contained in:
parent
21d287504c
commit
a311220c19
4 changed files with 70 additions and 8 deletions
25
Build.PL
Normal file
25
Build.PL
Normal file
|
@ -0,0 +1,25 @@
|
|||
use Module::Build;
|
||||
|
||||
my $build = Module::Build->new(
|
||||
module_name => 'Slic3r',
|
||||
dist_abstract => 'STL-to-GCODE translator',
|
||||
dist_author => 'Alessandro Ranellucci <aar@cpan.org>',
|
||||
dist_version => '0.1',
|
||||
license => 'perl',
|
||||
requires => {
|
||||
'CAD::Format::STL' => '0',
|
||||
'Getopt::Long' => '0',
|
||||
'Math::Clipper' => '1.00',
|
||||
'Math::Geometry::Planar' => '0',
|
||||
'Moo' => '0',
|
||||
'Time::HiRes' => '0',
|
||||
},
|
||||
build_requires => {
|
||||
'Test::More' => '0.10',
|
||||
},
|
||||
script_files => ['slic3r.pl'],
|
||||
);
|
||||
$build->dispatch('installdeps');
|
||||
$build->dispatch('test', verbose => 0);
|
||||
|
||||
$build->create_build_script;
|
Loading…
Add table
Add a link
Reference in a new issue