summaryrefslogtreecommitdiff
path: root/perl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Makefile')
-rw-r--r--perl/Makefile54
1 files changed, 53 insertions, 1 deletions
diff --git a/perl/Makefile b/perl/Makefile
index bbdd4a5..901bb4c 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -35,6 +35,58 @@ pkgs:
build-essential \
libdevel-repl-perl
+.PHONY: libs
libs: pkgs
-libs:
cpanm -n Mojo::Redis Test2::Harness Perl::Critic::TooMuchCode Dist::Zilla::Plugin::RewriteVersion Dist::Zilla::PluginBundle::Basic Mojolicious Crypt::Argon2 Object::Pad Perl::Tidy::Sweetened App::Ack
+
+.PHONY: brew-pkgs
+brew-pkgs:
+ sudo apt install -y \
+ perlbrew \
+ ca-certificates \
+ libssl1.1 \
+ libssl-dev \
+ zlib1g-dev \
+ libreadline-dev \
+ libreadline8 \
+ readline-common \
+ sqlite3 \
+ libsqlite3-0 \
+ libsqlite3-dev
+
+export PERL_MM_USE_DEFAULT=1
+
+PHONY: brew
+brew: brew-pkgs
+ perlbrew init && \
+ perlbrew install perl-5.34.0 && \
+ cpan install App::cpanminus
+
+PHONY: brew-libs
+brew-libs:
+ cpanm -n \
+ Term::ReadLine::Gnu \
+ Mojolicious \
+ Test2::Suite \
+ Test2::Harness \
+ Object::Pad \
+ Perl::Tidy \
+ Perl::Critic \
+ Perl::Critic::TooMuchCode \
+ Perl::Tidy::Sweetened \
+ List::AllUtils \
+ multidimensional \
+ indirect \
+ bareword::filehandles \
+ DBI \
+ Devel::REPL \
+ Crypt::Argon2 \
+ DBD::SQLite \
+ Mojo::SQLite \
+ Cpanel::JSON::XS \
+ CryptX \
+ Crypt::JWT \
+ EV \
+ IO::Socket::Socks \
+ IO::Socket::SSL \
+ strictures