switch to asdf .default-perl-modules

Sat, 30 Dec 2023 13:49:41 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 30 Dec 2023 13:49:41 -0600
changeset 1140
40b6fc3abd44
parent 1139
1359a563b5ce
child 1141
00240c15eca5

switch to asdf .default-perl-modules

.default-perl-modules file | annotate | diff | comparison | revisions
bin/setup-cpan-faves file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.default-perl-modules
@@ -0,0 +1,6 @@
+App::cpanminus
+App::cpm
+Getopt::Long::Descriptive
+Path::Tiny
+Perl::Tidy
+experimentals
--- a/bin/setup-cpan-faves
+++ b/bin/setup-cpan-faves
@@ -1,16 +1,6 @@
 #!/bin/bash
 set -euo pipefail
 
-dists=(
-  App::cpanminus
-  App::cpm
-
-  experimentals
-
-  Path::Tiny
-  Getopt::Long::Descriptive
-)
-
-cpm install -g "${dists[@]}"
+cpm install -g $(cat $(dirname $0)/../.default-perl-modules)
 
 asdf reshim perl || :

mercurial