diff options
-rw-r--r-- | module/entry-points/benchmark.scm | 8 | ||||
-rw-r--r-- | module/entry-points/html.scm | 5 | ||||
-rw-r--r-- | module/output/html.scm | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/module/entry-points/benchmark.scm b/module/entry-points/benchmark.scm index 4843a80a..701d786b 100644 --- a/module/entry-points/benchmark.scm +++ b/module/entry-points/benchmark.scm @@ -3,15 +3,15 @@ :use-module (ice-9 getopt-long) :use-module (util) - :use-module (vcomponent) + :use-module (util app) ) (define opt-spec - '((file (value #t) (single-char #\f)))) + '()) (define (main args) (define opts (getopt-long args opt-spec)) - (cond [(option-ref opts 'file #f) => (compose load-calendars* list)] - [else (load-calendars)])) + (write (getf 'calendars app: (current-app))) +) diff --git a/module/entry-points/html.scm b/module/entry-points/html.scm index e03e5907..1237f628 100644 --- a/module/entry-points/html.scm +++ b/module/entry-points/html.scm @@ -66,4 +66,7 @@ [(table) (html-table-main count start)] [else - (error "Unknown html style: ~a" style)])) + (error "Unknown html style: ~a" style)]) + + ((@ (util time) report-time!) "all done") + ) diff --git a/module/output/html.scm b/module/output/html.scm index 6dc9591b..31b57228 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -783,6 +783,8 @@ (define calendars (getf 'calendars)) (define events (getf 'event-set)) + ((@ (util time) report-time!) "html start") + ;; TODO This still doesn't account for PWD, file existing but is of ;; wrong type, html directory existing but static symlink missing, ;; static being a different file type, and probably something else |