--- /dev/null
+Build
+Build.bat
+MANIFEST
+MANIFEST.bak
+META.yml
+Makefile
+Makefile.old
+README
+_build/
+blib/
+inc/
+lib/DBIx/Class/Optional/Dependencies.pod
+pm_to_blib
\ No newline at end of file
+++ /dev/null
-use Module::Build;
-
-use strict;
-
-my $requires = {
- 'perl' => '5.6.0',
- 'Test::More' => 0.01,
- 'XML::Parser' => 0.01,
- 'IO::Scalar' => 0.01,
- 'File::Basename' => 0.01,
- 'Spreadsheet::WriteExcel' => 0.42,
- 'Spreadsheet::WriteExcel::Utility' => 0.01,
-};
-
-if ($] < 5.008) {
- eval { require Unicode::String; };
- if ($@) {
- print "Note: If you want to work with Unicode, you will need to install";
- print "the optional module Unicode::String and set USE_UNICODE to true.";
- my $resp = Module::Build->prompt( "Do you want to install it now?", "y");
- if ( $resp =~ /y/i ) {
- $requires->{'Unicode::String'} => '0.01';
- }
- } else {
- print "You have Unicode::String installed. If you warn to use Unicode,";
- print "You will need to set USE_UNICODE to true."
- }
-}
-
-my $build = Module::Build->new(
- module_name => 'Excel::Template',
- license => 'perl',
- requires => $requires,
- optional => {
- },
- build_requires => {
- 'File::Path' => '0.01',
- 'File::Temp' => '0.01',
- 'Test::Deep' => '0.095',
- 'Test::More' => '0.47',
- 'Test::Exception' => '0.21',
- },
- create_makefile_pl => 'traditional',
- add_to_cleanup => [
- 'META.yml', '*.bak', '*.gz', 'Makefile.PL', 'cover_db',
- ],
-# test_files => 't/??_*.t',
-);
-
-$build->create_build_script;
+++ /dev/null
-Build.PL
-MANIFEST
-LICENSE
-README
-Todo
-Changes
-lib/Excel/Template.pm
-lib/Excel/Template/Base.pm
-lib/Excel/Template/Container.pm
-lib/Excel/Template/Context.pm
-lib/Excel/Template/Element.pm
-lib/Excel/Template/Factory.pm
-lib/Excel/Template/Format.pm
-lib/Excel/Template/Iterator.pm
-lib/Excel/Template/TextObject.pm
-lib/Excel/Template/Container/Bold.pm
-lib/Excel/Template/Container/Conditional.pm
-lib/Excel/Template/Container/Format.pm
-lib/Excel/Template/Container/Hidden.pm
-lib/Excel/Template/Container/Italic.pm
-lib/Excel/Template/Container/KeepLeadingZeros.pm
-lib/Excel/Template/Container/Loop.pm
-lib/Excel/Template/Container/Locked.pm
-lib/Excel/Template/Container/Outline.pm
-lib/Excel/Template/Container/Row.pm
-lib/Excel/Template/Container/Scope.pm
-lib/Excel/Template/Container/Strikeout.pm
-lib/Excel/Template/Container/Shadow.pm
-lib/Excel/Template/Container/Workbook.pm
-lib/Excel/Template/Container/Worksheet.pm
-lib/Excel/Template/Element/Backref.pm
-lib/Excel/Template/Element/Cell.pm
-lib/Excel/Template/Element/Formula.pm
-lib/Excel/Template/Element/FreezePanes.pm
-lib/Excel/Template/Element/Image.pm
-lib/Excel/Template/Element/MergeRange.pm
-lib/Excel/Template/Element/Range.pm
-lib/Excel/Template/Element/Var.pm
-t/001_load.t
-t/002_workbook.t
-t/002.xml
-t/003_worksheet.t
-t/003.xml
-t/004_cell.t
-t/004.xml
-t/005_formats.t
-t/005.xml
-t/006_variables.t
-t/006.xml
-t/007_cell_formats.t
-t/007.xml
-t/008_formula.t
-t/008.xml
-t/009_loop.t
-t/009.xml
-t/010_scope.t
-t/010.xml
-t/011_conditional.t
-t/011.xml
-t/012_backref.t
-t/012.xml
-t/013_range.t
-t/013.xml
-t/014_heightwidth.t
-t/014.xml
-t/015_cell_type.t
-t/015.xml
-t/016_renderers.t
-t/016.xml
-t/017_filehandle.t
-t/018_register.t
-t/019_output.t
-t/020_worksheet_attributes.t
-t/021_loop_error.t
-t/022_keep_leading_zeros.t
-t/023_relative_values.t
-t/024_image.t
-t/025_freezepanes.t
-t/026_vars_in_format.t
-t/026_vars_in_format.xml
-t/027_landscape.t
-t/028_merge_range.t
-t/998_pod.t
-t/999_pod_coverage.t
-t/mock.pm
-t/Register_018.pm
-t/Spreadsheet/WriteExcel.pm
-t/Spreadsheet/WriteExcelXML.pm
-t/Spreadsheet/WriteExcel/Worksheet.pm
-t/Spreadsheet/WriteExcel/Big.pm
-Makefile.PL
-META.yml Module meta-data (added by MakeMaker)
+
+# Don't ship the last dist we built :)
+\.tar\.gz$
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Dont use Module::Build anymore
+^Build.PL$
+
+^\.git
^_build
^Build$
-^blib
~$
\.bak$
-^MANIFEST\.SKIP$
CVS
\.svn
cover_db
\..*\.sw.?$
-^Makefile$
-^pm_to_blib$
-^MakeMaker-\d
-^blibdirs$
\.old$
^#.*#$
^\.#
--- /dev/null
+use inc::Module::Install;
+
+name 'Excel-Template';
+perl_version '5.006';
+all_from 'lib/Excel/Template.pm';
+author q{Rob Kinyon <rob.kinyon@gmail.com>};
+license 'perl';
+resources(
+ repository => {
+ url => 'git://git.shadowcat.co.uk/p5sagit/Excel-Template.git',
+ web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Excel-Template.git;a=summary',
+ type => 'git',
+ },
+);
+
+test_requires 'File::Path' => 0;
+test_requires 'File::Temp' => 0;
+test_requires 'Test::Deep' => '0.095';
+test_requires 'Test::More' => '0.47';
+test_requires 'Test::Exception' => '0.21';
+
+requires 'Test::More' => 0;
+requires 'XML::Parser' => 0;
+requires 'IO::Scalar' => 0;
+requires 'File::Basename' => 0;
+requires 'Spreadsheet::WriteExcel' => '0.42';
+requires 'Spreadsheet::WriteExcel::Utility' => 0;
+
+if ($] < 5.008) {
+ print "#\n";
+ print "# Note: If you want to work with Unicode, you will need to install\n";
+ print "# the optional module Unicode::String and set USE_UNICODE to true.\n";
+ print "#\n";
+ recommends 'Unicode::String';
+}
+
+auto_install;
+
+WriteAll;
+