summaryrefslogtreecommitdiff
path: root/actions.sh
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 11:56:15 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 11:56:15 +0200
commit73503d87d3f9f87a73616bd3f4365906c87ae13e (patch)
tree5efb95a41f132d6a75fdb97401ef42467d9bca86 /actions.sh
parentde941df4cb8ef4f95563ef818380f870f442f7cd (diff)
fixes for tests and packageing
Diffstat (limited to 'actions.sh')
-rwxr-xr-xactions.sh14
1 files changed, 10 insertions, 4 deletions
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"