Start with bootstrap init.el instead of org-tangle

This commit is contained in:
TEC 2022-12-09 00:07:30 +08:00
parent eb111b20a5
commit a1c318294d
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
2 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,9 @@ jobs:
if: github.event_name != 'schedule' || steps.doomcache.outputs.cache-hit != 'true'
run: runner 'git clone --depth 1 --recurse-submodules https://github.com/tecosaur/emacs-config.git ~/.config/doom'
- name: Generate init.el et. al from config.org
- name: Create bootstrap init.el
if: github.event_name != 'schedule' || steps.doomcache.outputs.cache-hit != 'true'
run: runner "cd ~/.config/doom && emacs --batch --eval \"(require 'org)\" --eval '(progn (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"config.org\"))'"
run: runner "echo '(doom! :config literate)' > ~/.config/doom/init.el"
- name: Setup Doom
if: github.event_name != 'schedule' || steps.doomcache.outputs.cache-hit != 'true'

View File

@ -27,7 +27,7 @@ generate the =init.el= once.
#+begin_src shell :eval query
git clone --recurse-submodules git@github.com:tecosaur/emacs-config.git ~/.config/doom
emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"~/.config/doom/config.org\"))"
echo "(doom! :config literate)" > ~/.config/doom/init.el
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install; ~/.config/doom/setup.sh
#+end_src