diff options
| author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-30 12:19:52 -0700 |
|---|---|---|
| committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-30 12:19:52 -0700 |
| commit | 42e1adacc2288d85a89fc4571f685f5bde1d2920 (patch) | |
| tree | eefa76334eb9999f2d40868282c145c4f824e3d8 | |
| parent | Tell the manifest that our readme is markdown (diff) | |
| download | jitterbug-42e1adacc2288d85a89fc4571f685f5bde1d2920.tar.gz | |
Start converting capsule.sh to perl
| -rw-r--r-- | scripts/capsule.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/capsule.pl b/scripts/capsule.pl new file mode 100644 index 0000000..38463da --- /dev/null +++ b/scripts/capsule.pl @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +my ($build_dir, $report_path, $perlbrew) = @ARGV; + +my $logfile; + +my $build_dispatch = { + 'dist.ini' => sub { + print "Found dist.ini, using Dist::Zilla\n"; + my $cmd =<<CMD; + dzil authordeps | cpanm >> $logfile 2>&1 + cpanm --installdeps . >> $logfile 2>&1 + HARNESS_VERBOSE=1 dzil test >> $logfile 2>&1 +CMD + }, +}; |
