Install my development branch of Org

This commit is contained in:
TEC 2022-09-23 22:53:27 +08:00
parent 5123ca7bb7
commit 31de4ca5f5
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 5 additions and 3 deletions

View File

@ -7123,7 +7123,7 @@ correct package statement needed.
(= 0 (shell-command "cat ~/.ssh/id_ed25519.pub | grep -q AAAAC3NzaC1lZDI1NTE5AAAAIOZZqcJOLdN+QFHKyW8ST2zz750+8TdvO9IT5geXpQVt"))))
(dev-pkg (let ((default-directory (expand-file-name "straight/repos/org" doom-local-dir)))
(and (file-exists-p default-directory)
(string= "tec@git.savannah.gnu.org:/srv/git/emacs/org-mode.git\n" (shell-command-to-string "git remote get-url origin")))))
(string= "gitea@git.tecosaur.net:tec/org-mode.git\n" (shell-command-to-string "git remote get-url tecosaur")))))
(recipe-common '(:files (:defaults "etc")
:build t
:pre-build
@ -7151,9 +7151,11 @@ correct package statement needed.
:recipe (,@(cond ((and dev-key dev-pkg)
(list :host nil :repo nil :local-repo (expand-file-name "straight/repos/org" doom-local-dir)))
(dev-key
(list :host nil :repo "tec@git.savannah.gnu.org:/srv/git/emacs/org-mode.git"))
(list :host nil :repo "tec@git.savannah.gnu.org:/srv/git/emacs/org-mode.git"
:fork (list :host nil :repo "gitea@git.tecosaur.net:tec/org-mode.git" :branch "dev" :remote "tecosaur")))
(t
(list :host 'github :repo "emacs-straight/org-mode")))
(list :host nil :repo "https://git.tecosaur.net/mirrors/org-mode.git" :remote "mirror"
:fork (list :host nil :repo "https://git.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur"))))
,@recipe-common)
:pin nil)))
#+end_src