about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build_rakudo_and_spectest.sh10
-rwxr-xr-xscripts/capsule.sh2
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build_rakudo_and_spectest.sh b/scripts/build_rakudo_and_spectest.sh
new file mode 100644
index 0000000..423b8b5
--- /dev/null
+++ b/scripts/build_rakudo_and_spectest.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# This serves as an example of a custom build script, which builds
+# Rakudo Perl 6 and times a spectest run
+
+make realclean
+perl Configure.pl --gen-parrot
+make
+make t/spec
+time make spectest
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 30c3877..9fca79e 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -20,6 +20,8 @@ function jitterbug_build () {
         perl Build.PL >> $logfile 2>&1
         # ./Build installdeps is not available in older Module::Build's
         cpanm --installdeps . >> $logfile 2>&1
+        # Run this again in case our Build is out of date (suboptimal)
+        perl Build.PL >> $logfile 2>&1
         HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1
     elif [ -f 'Makefile.PL' ]; then
         echo "Found Makefile.PL"