make this run on windows

Mon, 19 Feb 2018 10:36:47 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 19 Feb 2018 10:36:47 -0500
changeset 694
7c7e47abe4e1
parent 693
ef18d50728ef
child 695
1dc38f7164ce

make this run on windows

bin/setup-cpan-faves file | annotate | diff | comparison | revisions
--- a/bin/setup-cpan-faves
+++ b/bin/setup-cpan-faves
@@ -1,31 +1,32 @@
-#!/bin/sh
-set -eu
+#!/usr/bin/env perl
+use warnings;
+use strict;
 
-exec cpanm -q <<END
-
-Carton
+exec cpanm => -nq => qw(
+  Carton
 
-App::prowess
-Pod::Cpandoc
+  App::prowess
 
-Perl::Tidy
+  Perl::Tidy
+  App::Cpandoc
 
-Import::Into
-experimentals
+  experimentals
+  Import::Into
 
-Reply
-IO::Pager
-Data::Printer
-Data::Printer::Filter::JSON
-Data::Printer::Filter::URI
-Carp::Always
-Proc::InvokeEditor
-B::Keywords
-Term::ReadLine::Gnu
-Class::Refresh
-Pry
+  Reply
+  IO::Pager
+  Data::Printer
+  Data::Printer::Filter::JSON
+  Data::Printer::Filter::URI
+  Carp::Always
+  Proc::InvokeEditor
+  B::Keywords
+  Term::ReadLine::Gnu
+  Class::Refresh
+  Pry
 
-Devel::Confess
+  Devel::Confess
 
-Path::Tiny
-END
+  Path::Tiny
+  Getopt::Long::Descriptive
+);

mercurial