diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-03 14:23:02 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-03 14:23:02 -0800 |
commit | 63f9711cc229376c9c566b97efeef0ada8695da3 (patch) | |
tree | bc9e83680ad53d7b68b72cecf175630e31804e0b /scripts | |
parent | Convert jitterbug to use Module::Build (diff) | |
download | jitterbug-63f9711cc229376c9c566b97efeef0ada8695da3.tar.gz |
Make capsule.sh prefer Build.PL
Diffstat (limited to '')
-rwxr-xr-x | scripts/capsule.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh index 1977313..5d9c57c 100755 --- a/scripts/capsule.sh +++ b/scripts/capsule.sh @@ -24,6 +24,10 @@ do dzil authordeps | cpanm cpanm --installdeps . HARNESS_VERBOSE=1 dzil test >> $logfile 2>&1 + else if [ -f 'Build.PL' ]; then + perl Build.PL + ./Build installdeps + HARNESS_VERBOSE=1 ./Build test >> $logfile 2>&1 else perl Makefile.PL cpanm --installdeps . |