diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-09 11:56:15 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-09 11:56:15 +0200 |
commit | 73503d87d3f9f87a73616bd3f4365906c87ae13e (patch) | |
tree | 5efb95a41f132d6a75fdb97401ef42467d9bca86 /actions.sh | |
parent | de941df4cb8ef4f95563ef818380f870f442f7cd (diff) |
fixes for tests and packageing
Diffstat (limited to 'actions.sh')
-rwxr-xr-x | actions.sh | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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" |