feat(users/Profpatsch/sync-abfall): caldav vdirsyncer config gen

Gonna have to generate some vdirsyncer config, reusing the toIni
stuff, nice.

Change-Id: I036ce9990f70d3b035e47151f336d0d3971f2c91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5888
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
This commit is contained in:
Profpatsch 2022-06-19 15:12:58 +02:00
parent 3c3713c69f
commit 7c0874c228
2 changed files with 157 additions and 1 deletions

View file

@ -10,5 +10,22 @@ let
]);
} ./sync-ics-to-dir.py;
config =
depot.users.Profpatsch.importDhall.importDhall
{
root = ./..;
files = [
"sync-abfall-ics-aichach-friedberg/ics-to-caldav.dhall"
"dhall/lib.dhall"
"ini/ini.dhall"
];
main = "sync-abfall-ics-aichach-friedberg/ics-to-caldav.dhall";
deps = [
];
}
depot.users.Profpatsch.ini.externs;
in
sync-to-dir
{ inherit config; }