From e398651ae5caa8b80c3e65bc1c40b8ac6a69f5c6 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Tue, 18 Jan 2011 18:54:06 -0800 Subject: Add support for building+testing Parrot VM and Rakudo Perl 6 --- scripts/capsule.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'scripts/capsule.sh') diff --git a/scripts/capsule.sh b/scripts/capsule.sh index 419f3b2..abc632d 100755 --- a/scripts/capsule.sh +++ b/scripts/capsule.sh @@ -15,17 +15,21 @@ function jitterbug_build () { # ./Build installdeps is not available in older Module::Build's cpanm --installdeps . HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1 + elif [ -f 'Makefile.PL' ]; then + echo "Found Makefile.PL" + perl Makefile.PL + cpanm --installdeps . + HARNESS_VERBOSE=1 make test >> $logfile 2>&1 elif [ -f 'setup.pir' ]; then echo "Found setup.pir" HARNESS_VERBOSE=1 parrot setup.pir test >> $logfile 2>&1 elif [ -f 'setup.nqp' ]; then echo "Found setup.nqp" HARNESS_VERBOSE=1 parrot-nqp setup.nqp test >> $logfile 2>&1 - else - echo "Hoping to find Makefile.PL" - perl Makefile.PL + elif [ -f 'Configure.pl' ]; then + echo "Found Configure.pl" + perl Configure.pl cpanm --installdeps . - make HARNESS_VERBOSE=1 make test >> $logfile 2>&1 fi } -- cgit v1.2.3