Permalink
Browse files

Added x_authority MIYAGAWA for comaint stuff. Added bootstrap file fo…

…r dev environment setup
  • Loading branch information...
1 parent 96eba53 commit 0096167c1fade5a6a749d72bf196a4a24ca7eb31 @miyagawa miyagawa committed Jul 20, 2012
Showing with 28 additions and 5 deletions.
  1. +2 −5 Makefile.PL
  2. +26 −0 bootstrap
View
7 Makefile.PL
@@ -1,13 +1,10 @@
-# install Module::Install Module::Install::AuthorTests Module::Install::ReadmeFromPod Module::Install::Repository
-sub author_tests { }
-sub readme_from { }
-sub auto_set_repository { }
-
+# See and run ./bootstrap when you get errors running Makefile.PL
use inc::Module::Install;
name 'Plack';
all_from 'lib/Plack.pm';
readme_from 'lib/Plack.pm';
+authority 'MIYAGAWA';
requires 'LWP::UserAgent', 5.814; # Plack::Test
requires 'HTTP::Message', 5.814;
View
26 bootstrap
@@ -0,0 +1,26 @@
+#!/usr/bin/perl
+# boostrap development environment
+use strict;
+
+sub diag {
+ warn "---> $_[0]\n";
+}
+
+diag "Installing Module::Install and plugins";
+system "cpanm", qw(
+ Module::Install
+ Module::Install::AuthorTests
+ Module::Install::ReadmeFromPod
+ Module::Install::Repository
+ Module::Install::Authority
+);
+
+diag "Installing dependencies";
+system "cpanm", "--installdeps", ".";
+
+diag "Running tests";
+system "prove", "-lr", "t";
+
+warn "\nYour development environment is set up. Happy hacking!\n";
+
+

0 comments on commit 0096167

Please sign in to comment.