Fri, 22 Nov 2019 16:02:17 -0600
Fix extra args to Ag
786 | 1 | #!/bin/bash |
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 | 4 | dists=( |
816
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
5 | App::cpm |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
6 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
7 | Perl::Tidy |
695 | 8 | Pod::Cpandoc |
308 | 9 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
10 | experimentals |
255 | 11 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
12 | Reply |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
13 | Data::Printer |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
14 | Data::Printer::Filter::JSON |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
15 | Data::Printer::Filter::URI |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
16 | Carp::Always |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
17 | B::Keywords |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
18 | Term::ReadLine::Gnu |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
19 | Class::Refresh |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
20 | Pry |
249
5bba2e094584
Move helper scripts into bin with common names
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
21 | |
694
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
22 | Path::Tiny |
7c7e47abe4e1
make this run on windows
Meredith Howard <mhoward@roomag.org>
parents:
692
diff
changeset
|
23 | Getopt::Long::Descriptive |
786 | 24 | ) |
25 | ||
819
58f9d9741852
actually run cpm to make sure it's not a stub
Meredith Howard <mhoward@roomag.org>
parents:
816
diff
changeset
|
26 | if ! (command -v cpm && cpm -V) &>/dev/null; then |
816
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
27 | curl -fsSL --compressed https://git.io/cpm | |
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
28 | perl - install -g App::cpm |
786 | 29 | |
816
f058603b86b6
bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents:
786
diff
changeset
|
30 | plenv rehash || : |
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 || : |