about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-01-31 21:34:35 -0800
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-31 21:35:10 -0800
commit3228d1bc9111e76f477caa1c8c077d357a6ae7a9 (patch)
treeaf0765d7dbfa5911ccde24812f7c83f7c24808d9 /scripts
parentAdd a builder_variablse YAML key, which passed environment variables to the b... (diff)
downloadjitterbug-3228d1bc9111e76f477caa1c8c077d357a6ae7a9.tar.gz
Capture all build output in the logfile, since it is usually useful
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/capsule.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 4d99bba..d9f1134 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -12,19 +12,19 @@ perlbrew=$3
 function jitterbug_build () {
     if [ -f 'dist.ini' ]; then
         echo "Found dist.ini, using Dist::Zilla"
-        dzil authordeps | cpanm
-        cpanm --installdeps .
+        dzil authordeps | cpanm >> $logfile 2>&1
+        cpanm --installdeps . >> $logfile 2>&1
         HARNESS_VERBOSE=1 dzil test >> $logfile  2>&1
     elif [ -f 'Build.PL' ]; then
         echo "Found Build.PL, using Build.PL"
-        perl Build.PL
+        perl Build.PL >> $logfile 2>&1
         # ./Build installdeps is not available in older Module::Build's
-        cpanm --installdeps .
+        cpanm --installdeps . >> $logfile 2>&1
         HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1
     elif [ -f 'Makefile.PL' ]; then
         echo "Found Makefile.PL"
-        perl Makefile.PL
-        cpanm --installdeps .
+        perl Makefile.PL >> $logfile 2>&1
+        cpanm --installdeps . >> $logfile 2>&1
         HARNESS_VERBOSE=1 make test >> $logfile 2>&1
     elif [ -f 'setup.pir' ]; then
         echo "Found setup.pir"
@@ -34,8 +34,8 @@ function jitterbug_build () {
         HARNESS_VERBOSE=1 parrot-nqp setup.nqp test >> $logfile 2>&1
     elif [ -f 'Configure.pl' ]; then
         echo "Found Configure.pl"
-        perl Configure.pl
-        cpanm --installdeps .
+        perl Configure.pl >> $logfile 2>&1
+        cpanm --installdeps . >> $logfile 2>&1
         HARNESS_VERBOSE=1 make test >> $logfile 2>&1
     fi
 }