From a7ece9161a6a162b842778a9e607fd455fb0045d Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 18 Mar 2024 16:58:32 -0400 Subject: [PATCH 1/2] chore(striker-ui): patch find command in lsxdist --- striker-ui/lsxdist | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/striker-ui/lsxdist b/striker-ui/lsxdist index d31c46d0..e9d024f5 100755 --- a/striker-ui/lsxdist +++ b/striker-ui/lsxdist @@ -18,17 +18,24 @@ # and # * removes leading "./" and append "\" +PPATH="${BASH_SOURCE[0]}" +PNAME="$(basename "$PPATH")" + found=$(find . \ - -mindepth 1 -maxdepth 1 \ - -not \( -name node_modules -prune \) \ - -not \( -name *git* -prune \) \ - -not \( -name *husky* -prune \) \ - -not \( -name public -prune \) \ - -not \( -name *[Mm]ake* -prune \) \ - -not \( -name [.]env[.]* -prune \) \ - -not \( -name "*$(basename ${BASH_SOURCE[0]})*" -prune \) \ + -mindepth 1 \ + -maxdepth 1 \ + -not \( -name "node_modules" -prune \) \ + -not \( -name "*git*" -prune \) \ + -not \( -name "*husky*" -prune \) \ + -not \( -name "public" -prune \) \ + -not \( -name "*[Mm]ake*" -prune \) \ + -not \( -name "[.]env[.]*" -prune \) \ + -not \( -name "*$PNAME*" -prune \) \ -not \( -name ".next" -prune \) \ - | sed -E 's@^./(.+)$@\1 \\@') + -not \( -name "out" -prune \) \ +) + +found=$(sed -E 's@^./(.+)$@\1 \\@' <<< "$found") sorted=$(sort <<< "$found") From 3dff33a087e391d3362cc9f18775f12e3e490a19 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 18 Mar 2024 17:11:04 -0400 Subject: [PATCH 2/2] build(striker-ui): distribute /mail-config page --- striker-ui/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/striker-ui/Makefile.am b/striker-ui/Makefile.am index de2ccf3a..bb149172 100644 --- a/striker-ui/Makefile.am +++ b/striker-ui/Makefile.am @@ -14,6 +14,7 @@ outpages = \ index.html \ init.html \ login.html \ + mail-config.html \ manage-element.html \ server.html outjsmodulesdir = _next