| Revision 15835,
945 bytes
checked in by azawawi, 6 months ago
(diff) |
|
[Autoformat] Perl tidy and converted project from Dist::Zilla into Module::Build. Added missing tests
|
| Line | |
|---|
| 1 | |
|---|
| 2 | use strict; |
|---|
| 3 | use warnings; |
|---|
| 4 | |
|---|
| 5 | use Module::Build 0.3601; |
|---|
| 6 | |
|---|
| 7 | my $build = Module::Build->new( |
|---|
| 8 | 'build_requires' => { |
|---|
| 9 | 'Locale::Msgfmt' => '0.15', |
|---|
| 10 | 'Module::Build' => '0.3601', |
|---|
| 11 | 'Test::More' => '0' |
|---|
| 12 | }, |
|---|
| 13 | 'configure_requires' => { 'Module::Build' => '0.3601' }, |
|---|
| 14 | 'dist_abstract' => 'Reformats your text within Padre', |
|---|
| 15 | 'dist_author' => [ |
|---|
| 16 | 'Jerome Quelin <jquelin@gmail.com>', |
|---|
| 17 | 'Ahmad M. Zawawi <ahmad.zawawi@gmail.com>' |
|---|
| 18 | ], |
|---|
| 19 | 'dist_name' => 'Padre-Plugin-Autoformat', |
|---|
| 20 | 'dist_version' => '1.22', |
|---|
| 21 | 'license' => 'perl', |
|---|
| 22 | 'module_name' => 'Padre::Plugin::Autoformat', |
|---|
| 23 | 'recommends' => {}, |
|---|
| 24 | 'recursive_test_files' => 1, |
|---|
| 25 | 'requires' => { |
|---|
| 26 | 'File::Basename' => '0', |
|---|
| 27 | 'File::Spec::Functions' => '0', |
|---|
| 28 | 'Padre' => '0.90', |
|---|
| 29 | 'Text::Autoformat' => '0' |
|---|
| 30 | }, |
|---|
| 31 | 'script_files' => [], |
|---|
| 32 | 'share_dir' => { 'dist' => 'share' } |
|---|
| 33 | ); |
|---|
| 34 | |
|---|
| 35 | $build->create_build_script; |
|---|
Note: See
TracBrowser
for help on using the repository browser.