fixed the build script showing too many messages

This commit is contained in:
2026-01-17 20:05:11 +00:00
parent 56652858bc
commit 1cae3c84de
11 changed files with 51 additions and 81 deletions

View File

@@ -25,6 +25,9 @@
(require 'seq)
(require 'cl-lib)
(use-package htmlize
:ensure t)
;(setq org-export-with-broken-links t)
(setq org-id-locations-file "~/.emacs.d/.org-id-locations")
@@ -311,17 +314,19 @@ Created with %c on <a href=\"https://www.archlinux.org/\">Arch</a> <a href=\"htt
:recursive t
:publishing-function org-publish-attachment)))
;(delete-directory "~/master-folder/org_files/org_roam/output/" t)
(message "Directory deleted")
(defun z/org-publish-quiet (project force)
"Publish PROJECT quietly. If FORCE is non-nil, force publishing."
(let ((inhibit-message t)
(message-log-max nil))
(org-publish project force)))
(defun z/build-full ()
"Full rebuild: Org, assets, and search index."
(interactive)
(setq z/build-full-rebuild t)
(z/generate-all-files-org)
(org-publish "org-roam" t)
(org-publish "org-static" t)
(z/org-publish-quiet "org-roam" t)
(z/org-publish-quiet "org-static" t)
(message "✅ Full rebuild complete"))
(defun z/build-fast ()