aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-10 12:49:06 -0600
committerChristian Cleberg <[email protected]>2026-02-10 12:49:06 -0600
commite0c7db7541d5f7a00cbfe0b2beb4282989f66a44 (patch)
tree1d459a06355ea9435013d8abce93074389c97ddc /publish.el
parentb417650dbea1f766322b284ed7a780cb80fe6503 (diff)
downloadcleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.tar.gz
cleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.tar.bz2
cleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.zip
implement GitLab CI
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/publish.el b/publish.el
index 325ce26..3399715 100644
--- a/publish.el
+++ b/publish.el
@@ -1,8 +1,13 @@
;;; -*- lexical-binding: t -*-
;; Explicitly load packages for Doom Emacs
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/htmlize")
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/weblorg")
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/templatel")
+(defvar site-lisp-base
+ (if (eq system-type 'darwin)
+ "~/.config/emacs/.local/straight/repos" ; macOS path
+ "/home/linuxbrew/.config/emacs/.local/straight/repos")) ; CI/Linux path
+
+(add-to-list 'load-path (expand-file-name "htmlize" site-lisp-base))
+(add-to-list 'load-path (expand-file-name "weblorg" site-lisp-base))
+(add-to-list 'load-path (expand-file-name "templatel" site-lisp-base))
(require 'htmlize)
(require 'weblorg)