bin/setup-cpan-faves

Fri, 18 Oct 2019 14:29:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 14:29:32 -0500
changeset 804
17b16f2ff839
parent 786
63160e727e37
child 816
f058603b86b6
permissions
-rwxr-xr-x

no more session autosave

786
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
1 #!/bin/bash
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
2 set -eu -o pipefail
249
5bba2e094584 Move helper scripts into bin with common names
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
786
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
4 dists=(
694
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
5 Perl::Tidy
695
Meredith Howard <mhoward@roomag.org>
parents: 694
diff changeset
6 Pod::Cpandoc
308
2565964f2b50 Add perltidy
Meredith Howard <mhoward@roomag.org>
parents: 274
diff changeset
7
694
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
8 experimentals
255
9e96941c5dba add experimentals
Meredith Howard <mhoward@roomag.org>
parents: 249
diff changeset
9
694
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
10 Reply
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
11 Data::Printer
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
12 Data::Printer::Filter::JSON
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
13 Data::Printer::Filter::URI
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
14 Carp::Always
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
15 B::Keywords
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
16 Term::ReadLine::Gnu
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
17 Class::Refresh
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
18 Pry
249
5bba2e094584 Move helper scripts into bin with common names
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19
694
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
20 Path::Tiny
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
21 Getopt::Long::Descriptive
786
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
22 )
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
23
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
24 command -v cpm &>/dev/null ||
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
25 cpanm App::cpm
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
26
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
27 exec cpm install -g "${dists[@]}"

mercurial