Log static web file generator.

This commit is contained in:
Dominik Pantůček 2023-04-11 20:58:36 +02:00
parent e8bd82ef1e
commit 8abf44b2c8
3 changed files with 9 additions and 3 deletions

View file

@ -38,7 +38,8 @@
texts
tests
reminders
util-mail)
util-mail
logging)
;; Print banner
(print "HackerBase 0.9.5 (c) 2023 Brmlab, z.s.")
@ -103,6 +104,8 @@
(-send-emails- #t))
(-mailto (email) "Override all outgoing emails destination"
(*mailto-override* email))
(-logfile (filename) "Enable logging to file"
(*log-file* filename))
""
"Query options:"
(-mi (id) "Specify member by id" (-member-id- (string->number id)))
@ -281,6 +284,7 @@
((repl)
(repl))
((genweb)
(log-info "Generating static web files")
(gen-web-static MB (-web-dir-)))
((edit)
(if mr