From eae7431ea9ee9d87634b3938b5cf8b64ebdbfb5a Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 25 Apr 2022 17:13:23 +0200 Subject: corrections for last commit - fixed tests - added links to languages in about - raised log level of actions in I18N2 - improved actions script - corrected dependencies in Makefile.PL - updated changes --- actions.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'actions.sh') diff --git a/actions.sh b/actions.sh index 49fa4e2..c8636bc 100755 --- a/actions.sh +++ b/actions.sh @@ -2,14 +2,22 @@ set -euC -test () { +run_tests () { eval "prove -l ${1-} t/" } -start () { +foreground () { script/jwebmail daemon } +start_dev () { + MOJO_MODE=development hypnotoad script/jwebmail +} + +stop_dev () { + MOJO_MODE=development hypnotoad -s script/jwebmail +} + logrotate () { mode=${1:-development} mv -i "log/$mode.log" "log/${mode}_$(date --iso-8601=minutes).log" -- cgit v1.2.3