diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-18 18:54:06 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-18 18:54:06 -0800 |
commit | e398651ae5caa8b80c3e65bc1c40b8ac6a69f5c6 (patch) | |
tree | b426b5582ec81046f52db4c5eec7c25944548926 /scripts | |
parent | Add support for testing some Parrot and Perl 6 projects (diff) | |
download | jitterbug-e398651ae5caa8b80c3e65bc1c40b8ac6a69f5c6.tar.gz |
Add support for building+testing Parrot VM and Rakudo Perl 6
Diffstat (limited to '')
-rwxr-xr-x | scripts/capsule.sh | 12 |
1 files changed, 8 insertions, 4 deletions
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 } |