Permalink
Browse files

switch build system Module::Build. Add .gitignore

  • Loading branch information...
1 parent 3018907 commit 3e25fc44837a29a5920b54637de74816984a152c @moritz committed Jun 28, 2011
Showing with 91 additions and 25 deletions.
  1. +17 −0 .gitignore
  2. +23 −0 Build.PL
  3. +4 −0 Changes
  4. +44 −0 MANIFEST.SKIP
  5. +0 −21 Makefile.PL
  6. +3 −4 README
View
17 .gitignore
@@ -0,0 +1,17 @@
+blib*
+Makefile
+Makefile.old
+Build
+Build.bat
+_build*
+pm_to_blib*
+*.tar.gz
+.lwpcookies
+cover_db
+pod2htm*.tmp
+WebService-Libris-*
+test.pl
+MANIFEST
+MANIFEST.skip
+*.bak
+MYMETA.*
View
23 Build.PL
@@ -0,0 +1,23 @@
+use strict;
+use warnings;
+use Module::Build;
+use 5.010;
+
+my $build = Module::Build->new(
+ create_readme => 0,
+ create_makefile_pl => 'traditional',
+ license => 'perl',
+ module_name => 'WebService::Libris',
+ dist_author => 'Moritz Lenz',
+ dist_abstract => 'Programmatic access to book meta data from libris.kb.se',
+ dist_version_from => 'lib/WebService/Libris.pm',
+ requires => {
+ perl => '5.010',
+ Mojolicious => '0.040',
+ },
+ recommends => {},
+ sign => 0,
+);
+$build->create_build_script;
+
+# vim: sw=4 ts=4 expandtab
View
4 Changes
@@ -1,9 +1,13 @@
Revision history for WebService-Libris
+0.06
+ Switch to Module::Build
+
0.05 2011-06-28
Add missing FileCache.pm
more elaborate language handling
remove nonsensical -T from test shebang lines
+
0.03 2011-06-28
Documentation for all interesting classes
More accessors
View
44 MANIFEST.SKIP
@@ -0,0 +1,44 @@
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+\B\.cvsignore$
+\B\.gitignore$
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\bBuild.bat$
+\b_build
+
+# Avoid Devel::Cover generated files
+\bcover_db
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\.#
+\.rej$
+\.swp$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+# Avoid archives of this distribution
+\bWebService-Libris
+^MYMETA.yml$
+^MYMETA\.json$
+^test\.pl$
View
21 Makefile.PL
@@ -1,21 +0,0 @@
-use 5.010;
-use strict;
-use warnings;
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- NAME => 'WebService::Libris',
- AUTHOR => q{Moritz Lenz <moritz@faui2k3.org>},
- VERSION_FROM => 'lib/WebService/Libris.pm',
- ABSTRACT_FROM => 'lib/WebService/Libris.pm',
- ($ExtUtils::MakeMaker::VERSION >= 6.3002
- ? ('LICENSE'=> 'perl')
- : ()),
- PL_FILES => {},
- PREREQ_PM => {
- Mojolicious => 0.040,
- 'Test::More' => 0,
- },
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'WebService-Libris-*' },
-);
View
7 README
@@ -5,10 +5,9 @@ INSTALLATION
To install this module, run the following commands:
- perl Makefile.PL
- make
- make test
- make install
+ perl Build.PL
+ ./Build test
+ ./Build install
SUPPORT AND DOCUMENTATION

0 comments on commit 3e25fc4

Please sign in to comment.