Permalink
Browse files

Add Build.PL, MANIFEST.SKIP, and .gitignore.

  • Loading branch information...
1 parent ad88d13 commit de99cae5142bcb66fe5ff459a0ba38fb2365bc59 @theory committed Apr 12, 2012
Showing with 79 additions and 0 deletions.
  1. +14 −0 .gitignore
  2. +28 −0 Build.PL
  3. +37 −0 MANIFEST.SKIP
View
@@ -0,0 +1,14 @@
+# add files you don't want in git here
+/_build
+/blib
+-*
+/MANIFEST
+/MANIFEST.bak
+/*META.*
+/Build
+/Makefile*
+/pm_to_blib
+/App-Sqitch-*
+*.rpm
+/_rpmbuild
+/target
View
@@ -0,0 +1,28 @@
+use strict;
+use warnings;
+use Module::Build;
+
+Module::Build->new(
+ module_name => 'App::Sqitch',
+ license => 'mit',
+ requires => { perl => '5.10.1' },
+ configure_requires => { 'Module::Build' => '0.35' },
+ build_requires => {
+ 'Module::Build' => '0.35',
+ 'Test::More' => '0.17',
+ },
+ requires => {
+ 'Class::Accessor::Fast' => '0.31',
+ 'Getopt::Long' => 0,
+ },
+ recommends => {
+ 'Test::Pod' => '1.41',
+ },
+ meta_merge => {
+ resources => {
+ homepage => 'http://sqitch.org/',
+ bugtracker => 'http://github.com/theory/sqitch/issues/',
+ repository => 'http://github.com/theory/sqitch/',
+ }
+ },
+)->create_build_script;
View
@@ -0,0 +1,37 @@
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.git
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\b\.#
+
+# Avoid build files.
+^App-Sqitch
+\b_rpmbuild
+^rpm\.spec$
+^target
+^arco
+
+# Avoid spelling test.
+pod-spelling.t$
+^MYMETA\.yml$
+^MYMETA\.json$

0 comments on commit de99cae

Please sign in to comment.