chore(shell-sync): Makefile scaffolding

This commit is contained in:
hoelee committed 2026-05-06 09:00:00 +08:00
1 parent 49d8165ee2
commit d272b3c8e0
1 file changed
+16
+16
View File
@@ -55,3 +55,19 @@ sync:
fi
docker compose exec imapsync sync.sh sync $(ACCOUNT)
# Force a full batch now (all configured accounts)
sync-all:
docker compose exec imapsync sync.sh sync-all
# Enter container shell
shell:
docker compose exec imapsync sync.sh shell
# Clean up
clean:
docker compose down -v
rm -rf logs/*.log logs/*.last_* logs/.heartbeat logs/.notification_failed
# One-shot sync (build, run once, exit)
once:
ONCE=true docker compose up --build --abort-on-container-exit