Sun, 02 Jan 2022 03:07:39 -0600
Disable diffopt hiddenoff (newer default?) enable patience diff
786 | 1 | #!/bin/bash |
956
61c91bec34c8
improve this first-time install
Meredith Howard <mhoward@roomag.org>
parents:
819
diff
changeset
|
2 | set -euo pipefail |
249
5bba2e094584
Move helper scripts into bin with common names
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
3 | |
786 | 4 | dists=( |
956
61c91bec34c8
improve this first-time install
Meredith Howard <mhoward@roomag.org>
parents:
819
diff
changeset
|
5 | App::cpanminus |
816
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
6 | App::cpm |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
7 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
8 | Perl::Tidy |
695 | 9 | Pod::Cpandoc |
308 | 10 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
11 | experimentals |
255 | 12 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
13 | Reply |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
14 | Data::Printer |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
15 | Data::Printer::Filter::JSON |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
16 | Data::Printer::Filter::URI |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
17 | Carp::Always |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
18 | B::Keywords |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
19 | Term::ReadLine::Gnu |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
20 | Class::Refresh |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
21 | Pry |
249
5bba2e094584
Move helper scripts into bin with common names
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
22 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
23 | Path::Tiny |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
24 | Getopt::Long::Descriptive |
786 | 25 | ) |
26 | ||
819
58f9d9741852
actually run cpm to make sure it's not a stub
Meredith Howard <mhoward@roomag.org>
parents:
816
diff
changeset
|
27 | if ! (command -v cpm && cpm -V) &>/dev/null; then |
956
61c91bec34c8
improve this first-time install
Meredith Howard <mhoward@roomag.org>
parents:
819
diff
changeset
|
28 | cpm() { |
61c91bec34c8
improve this first-time install
Meredith Howard <mhoward@roomag.org>
parents:
819
diff
changeset
|
29 | curl -fsSL --compressed https://git.io/cpm | perl - $@ |
61c91bec34c8
improve this first-time install
Meredith Howard <mhoward@roomag.org>
parents:
819
diff
changeset
|
30 | } |
816
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
31 | fi |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
32 | |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
33 | cpm install -g "${dists[@]}" |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
34 | |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
35 | plenv rehash || : |