bin/setup-cpan-faves

changeset 786
63160e727e37
parent 708
3c51616458c8
child 816
f058603b86b6
equal deleted inserted replaced
785:9bd25468c382 786:63160e727e37
1 #!/usr/bin/env perl 1 #!/bin/bash
2 use warnings; 2 set -eu -o pipefail
3 use strict;
4 3
5 exec cpanm => -nq => qw( 4 dists=(
6 App::cpanminus
7 Carton
8
9 Perl::Tidy 5 Perl::Tidy
10 Pod::Cpandoc 6 Pod::Cpandoc
11 7
12 experimentals 8 experimentals
13 9
21 Class::Refresh 17 Class::Refresh
22 Pry 18 Pry
23 19
24 Path::Tiny 20 Path::Tiny
25 Getopt::Long::Descriptive 21 Getopt::Long::Descriptive
26 ); 22 )
23
24 command -v cpm &>/dev/null ||
25 cpanm App::cpm
26
27 exec cpm install -g "${dists[@]}"

mercurial