diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 23:46:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 23:46:33 -0500 |
| commit | cbc9ffbee729a4c5b8f09a6c13b516eaf3c7c50f (patch) | |
| tree | 7fc339c3b8f3fcce19a9064bb9b64a14c21ec63a /Makefile | |
| parent | 6363552d57d6cb8af32e3468c04992abf099a06d (diff) | |
| download | dotemacs-cbc9ffbee729a4c5b8f09a6c13b516eaf3c7c50f.tar.gz dotemacs-cbc9ffbee729a4c5b8f09a6c13b516eaf3c7c50f.zip | |
build: add task-sorted target to archive resolved todo tasks
make task-sorted wraps todo-cleanup.el --archive-done, moving DONE/CANCELLED level-2 subtrees from Open Work into Resolved. Ran it: archived this session's closed tasks.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -50,6 +50,7 @@ EMACS_TEST = $(EMACS_BATCH) -L $(TEST_DIR) -L $(MODULE_DIR) test-bash theme-studio-test theme-studio-check theme-studio-coverage theme-studio-gen theme-studio-open theme-studio-theme theme-studio-theme-load theme-studio-theme-reload deploy-wip \ benchmark coverage coverage-summary coverage-clean \ validate-parens validate-modules compile compile-file lint profile \ + task-sorted \ clean clean-compiled clean-tests reset # Alias for help @@ -457,6 +458,13 @@ profile: --eval "(profile-dotemacs)"; \ fi +# Move completed tasks (DONE/CANCELLED level-2 subtrees) out of "Open Work" +# and into the "Resolved" section of todo.org. Wraps todo-cleanup.el's +# --archive-done; a no-op when nothing is in a closed state. +task-sorted: + @echo "Archiving resolved tasks in todo.org..." + @$(EMACS) --batch -q -l .ai/scripts/todo-cleanup.el --archive-done todo.org + clean: clean-tests clean-compiled @echo "✓ Clean complete" |
