From 73503d87d3f9f87a73616bd3f4365906c87ae13e Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 9 May 2022 11:56:15 +0200 Subject: fixes for tests and packageing --- actions.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'actions.sh') diff --git a/actions.sh b/actions.sh index 0bb0000..400feae 100755 --- a/actions.sh +++ b/actions.sh @@ -4,10 +4,17 @@ set -euC help_text= +help_text="$help_text install\t[]\t\n" +install () { + perl Makefile.PL + make + make test + make install +} + help_text="$help_text run_tests\t[arg]\tpasses arg to the 'prove' tool\n" run_tests () { - #eval "prove -l ${1-} t/" - make test + eval "prove -l ${1-} t/" } help_text="$help_text start_dev\t[]\tstarts a hot reloading dev server\n" @@ -38,8 +45,7 @@ follow () { help_text="$help_text check_manifest\t[]\tchecks if files in the MANIFEST actually exist\n" check_manifest () { - #perl -nE 'chomp; say unless -e' MANIFEST - make ci + perl -nE 'chomp; say if $_ && !-e' MANIFEST } help_text="$help_text list_deps\t[module]\tlists all non core dependencies of a module (default=JWebmail)\n" -- cgit v1.2.3