summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/capsule.sh4
1 files changed, 4 insertions, 0 deletions
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 .