bin/setup-cpan-faves

Mon, 17 Jul 2023 22:19:11 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 17 Jul 2023 22:19:11 -0500
changeset 1124
cb981f8aba50
parent 1109
71d10acde172
child 1140
40b6fc3abd44
permissions
-rwxr-xr-x

neotree v3.x

786
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
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
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
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 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 Path::Tiny
7c7e47abe4e1 make this run on windows
Meredith Howard <mhoward@roomag.org>
parents: 692
diff changeset
11 Getopt::Long::Descriptive
786
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
12 )
63160e727e37 lets use cpm
Meredith Howard <mhoward@roomag.org>
parents: 708
diff changeset
13
816
f058603b86b6 bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents: 786
diff changeset
14 cpm install -g "${dists[@]}"
f058603b86b6 bootstrap cpm and keep cpm updated, and plenv shims
Meredith Howard <mhoward@roomag.org>
parents: 786
diff changeset
15
970
498189926551 remove plenv references
Meredith Howard <mhoward@roomag.org>
parents: 956
diff changeset
16 asdf reshim perl || :

mercurial