From 63f9711cc229376c9c566b97efeef0ada8695da3 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Mon, 3 Jan 2011 14:23:02 -0800 Subject: Make capsule.sh prefer Build.PL --- scripts/capsule.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/capsule.sh b/scripts/capsule.sh index 1977313..5d9c57c 100755 --- a/scripts/capsule.sh +++ b/scripts/capsule.sh @@ -24,6 +24,10 @@ do dzil authordeps | cpanm cpanm --installdeps . HARNESS_VERBOSE=1 dzil test >> $logfile 2>&1 + else if [ -f 'Build.PL' ]; then + perl Build.PL + ./Build installdeps + HARNESS_VERBOSE=1 ./Build test >> $logfile 2>&1 else perl Makefile.PL cpanm --installdeps . -- cgit 1.4.1