diff options
| author | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-08 10:38:37 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-08 10:38:37 +1000 |
| commit | b041a96c7bbd2929586702dbc464eb079f89e56e (patch) | |
| tree | c1d0deec6864899b517af2e83383fdd661749fe6 | |
| parent | 1349f1ffe914c6a8bb34c11892890d1656ee81a6 (diff) | |
chore: add reset and build helpers
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | README.md | 13 | ||||
| -rwxr-xr-x | build | 6 | ||||
| -rwxr-xr-x | reset | 6 |
4 files changed, 27 insertions, 0 deletions
@@ -5,6 +5,8 @@ !/README.md !/config.org !/abbrev_defs +!/reset +!/build !/name-dictionary.el !/docs/ !/docs/plans/ @@ -125,12 +125,25 @@ To regenerate the generated files from the repo root: emacs --batch -Q --eval '(progn (require (quote ob-tangle)) (org-babel-tangle-file "config.org"))' ``` +Or use the helper script: + +```sh +./build +``` + To verify that the generated main config still loads: ```sh emacs --batch -Q --load ./init.el ``` +To remove generated startup files and common working directories from the repo +root: + +```sh +./reset +``` + ## Workflow ### MOC @@ -0,0 +1,6 @@ +#!/bin/sh + +set -eu + +exec emacs --batch -Q \ + --eval '(progn (require (quote ob-tangle)) (org-babel-tangle-file "config.org"))' @@ -0,0 +1,6 @@ +#!/bin/sh + +set -eu + +rm -f init.el early-init.el +rm -rf auto-save-list eln-cache elpa |
