-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 1.43 KB
/
Copy pathMakefile
File metadata and controls
31 lines (24 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Makefile: convenience targets over tools/kanban.py and sync/sync.py.
# Everything here runs against ops-example/, the synthetic fixture board, so you can
# try the whole loop before pointing it at your own kanban/ and weekly/ folders.
.PHONY: test dry-run-open dry-run-close apply lock sync-dry
# Run the full test suite.
test:
pytest -q
# Preview the Monday diff for ops-example without writing anything.
dry-run-open:
python3 tools/kanban.py apply ops-example/diffs/2026-W33-open.diff.md --root ops-example --dry-run --as-of 2026-08-10
# Preview the Friday derived rows for ops-example without pushing anything.
dry-run-close:
python3 sync/sync.py ops-example/weekly/2026-08/2026-W32-close.md --config weekloop.config.example.yaml --dry-run
# Apply the Monday diff for real. This mutates ops-example/ in place: re-run
# `git checkout ops-example` (or re-clone) to reset it afterwards.
apply:
python3 tools/kanban.py apply ops-example/diffs/2026-W33-open.diff.md --root ops-example --as-of 2026-08-10
# Lock the ops-example week-open file after applying its diff.
lock:
python3 tools/kanban.py lock ops-example/weekly/2026-08/2026-W33-open.md --as-of 2026-08-10T09:00:00+10:00
# Generic sync dry-run entry point: same command as dry-run-close, kept as a
# discoverable name since "sync" is the word you'll be looking for.
sync-dry:
python3 sync/sync.py ops-example/weekly/2026-08/2026-W32-close.md --config weekloop.config.example.yaml --dry-run