From 92f797795bf7e83134c28611ae0fa7bb2a8aa3e2 Mon Sep 17 00:00:00 2001 From: Crazazy Date: Wed, 9 Mar 2022 20:19:32 +0100 Subject: run multiple emacs in parralel during export --- readme.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'readme.org') diff --git a/readme.org b/readme.org index 95bccb2..67c5efa 100644 --- a/readme.org +++ b/readme.org @@ -8,7 +8,7 @@ In this document I'm mostly going to set up some prerequisites for tangling othe * Maintenance links :noexport: This is for the org-mode side only It is assumed that you have nix and emacs installed for this config to work. You can tangle all files [[elisp:(dolist (i (directory-files (file-name-directory (buffer-file-name (current-buffer))) t "\\.org$")) (org-babel-tangle-file i))][with this lisp]] - You can export all org files to html with a [[shell:for i in *.org; do emacs $i --batch --eval "(org-html-export-to-html)"; done; rm style.html*; scp *.html cafe:public_html/][this small script]] + You can export all org files to html with a [[shell:for i in *.org; do emacs -Q $i --batch --eval "(org-html-export-to-html)" & done; rm style.html*; scp *.html cafe:public_html/][this small script]] You can then install required dependencies with [[shell:./bootstrap.sh &][the bootstrap link]] * Dependencies Dependencies are handled by [[https://github.com/nmattia/niv][niv]]. I have put the dependencies in a shell file, rather than the output -- cgit 1.4.1-2-gfad0