Add support for a "working-directory" parameter

This commit updates the tests to check that this works and also rewrites the
test script from Bash to Perl.

Co-authored-by: Dave Rolsky <autarch@urth.org>
This commit is contained in:
aaronvg
2023-09-03 16:25:13 -07:00
committed by Dave Rolsky
parent 77a5caf54b
commit 42fe96a4c1
14 changed files with 5248 additions and 72 deletions

View File

@@ -14,6 +14,9 @@ function install_tools () {
run "ubi --project houseabsolute/precious --in ~/bin"
run "ubi --project houseabsolute/omegasort --in ~/bin"
run "npm install prettier"
run "curl -L https://cpanmin.us/ -o ~/bin/cpanm"
run "chmod 0755 ~/bin/cpanm"
run "~/bin/cpanm --sudo --notest Perl::Tidy"
}
if [ "$1" == "-v" ]; then