diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-04 17:23:50 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-04 17:23:50 -0800 |
commit | 3a9161f147b99465dfecfff1259fe3aadc1d09bc (patch) | |
tree | 4a3975b22f783933641b736cde516bcb6ff0255e /scripts | |
parent | Correct mail program invocation to work on Debian systems (diff) | |
download | jitterbug-3a9161f147b99465dfecfff1259fe3aadc1d09bc.tar.gz |
Add some debug output to capsule.sh
Diffstat (limited to '')
-rwxr-xr-x | scripts/capsule.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh index b4be0d9..b103a6a 100755 --- a/scripts/capsule.sh +++ b/scripts/capsule.sh @@ -6,6 +6,7 @@ builddir=$1 report_path=$2 +echo "Creating report_path=$report_path" mkdir -p $report_path cd $builddir @@ -15,20 +16,26 @@ source $HOME/perl5/perlbrew/etc/bashrc for perl in $HOME/perl5/perlbrew/perls/perl-5.* do theperl="$(basename $perl)" + + echo ">perlbrew switch $theperl" perlbrew switch $theperl + # TODO: check error condition perlversion=$(perl -v) logfile="$report_path/$theperl.txt" if [ -f 'dist.ini' ]; then + echo "Found dist.ini, using Dist::Zilla" dzil authordeps | cpanm cpanm --installdeps . HARNESS_VERBOSE=1 dzil test >> $logfile 2>&1 elif [ -f 'Build.PL' ]; then + echo "Found Build.PL, using Build.PL" perl Build.PL ./Build installdeps HARNESS_VERBOSE=1 ./Build test >> $logfile 2>&1 else + echo "Hoping to find Makefile.PL" perl Makefile.PL cpanm --installdeps . make |