~duncan-bayne/halp

aeb93add443a03560bddabe10578d534eb3e44f7 — Duncan Bayne a month ago 213baac
Clean up dependency scripts and README
3 files changed, 23 insertions(+), 25 deletions(-)

M README.md
M scripts/freebsd-dependencies.sh
M scripts/ubuntu-dependencies.sh
M README.md => README.md +13 -3
@@ 10,7 10,19 @@ It was created to scratch an itch: to generate both my [personal Gemini capsule]

## prerequisites

1. `perl5`
1. Perl 5 (5.10 or later).
2. The following CPAN modules:
	1. Clone
	2. Data::Dump
	3. File::Copy::Recursive
	4. File::Slurp
	5. Mojolicious
	6. Test::Exception
	7. Text::Template
	8. Try::Tiny
	9. XML::Atom::SimpleFeed

Note that `scripts/freebsd-dependencies.sh` and `scripts/ubuntu-dependencies.sh` will set these up for you.

## tests



@@ 49,5 61,3 @@ Having spent a few years as a professional C coder I'm reluctant to reach for it
### 2. what on earth is that mascot?

It's "Purlapin", a mascot created by Stable Diffusion and named by Chat GPT.  It's just too surreal *not* to use even though I have no idea what it is.



M scripts/freebsd-dependencies.sh => scripts/freebsd-dependencies.sh +10 -18
@@ 2,21 2,13 @@

set -euxo pipefail

pkg install -y \
    hs-shellcheck \
    wait_on

shellcheck "$0"

pkg install -y \
    p5-Clone \
    p5-Data-Dump \
    p5-File-Copy-Recursive \
    p5-File-Slurp \
    p5-HTTP-Server-Simple \
    p5-Mojolicious \
    p5-Test-Exception \
    p5-Test-LWP-UserAgent \
    p5-Text-Template \
    p5-Try-Tiny \
    p5-XML-Atom-SimpleFeed
sudo pkg install -y \
     p5-Clone \
     p5-Data-Dump \
     p5-File-Copy-Recursive \
     p5-File-Slurp \
     p5-Mojolicious \
     p5-Test-Exception \
     p5-Text-Template \
     p5-Try-Tiny \
     p5-XML-Atom-SimpleFeed

M scripts/ubuntu-dependencies.sh => scripts/ubuntu-dependencies.sh +0 -4
@@ 2,16 2,12 @@

set -euxo pipefail

shellcheck "$0"

cpan Clone
cpan Data::Dump
cpan File::Copy::Recursive
cpan File::Slurp
cpan HTTP::Server::Simple
cpan Mojolicious
cpan Test::Exception
cpan Test::LWP::UserAgent
cpan Text::Template
cpan Try::Tiny
cpan XML::Atom::SimpleFeed