summaryrefslogtreecommitdiff
path: root/actions.sh
diff options
context:
space:
mode:
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"