From 5cc38ef78e8ed3554aaee427649b1e479145a05a Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sun, 5 Apr 2020 21:50:12 -0700 Subject: [PATCH] add post-install func --- words/index.rkt | 5 ++++- words/info.rkt | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 words/info.rkt diff --git a/words/index.rkt b/words/index.rkt index 5a6c02d..be07f70 100644 --- a/words/index.rkt +++ b/words/index.rkt @@ -70,4 +70,7 @@ (fasl->s-exp (open-input-file (and (unless (file-exists? wordidx-file) (regenerate-word-index!)) - wordidx-file)))) \ No newline at end of file + wordidx-file)))) + +(define (post-installer home-dir) + (regenerate-word-index!)) \ No newline at end of file diff --git a/words/info.rkt b/words/info.rkt new file mode 100644 index 0000000..fdffd01 --- /dev/null +++ b/words/info.rkt @@ -0,0 +1,3 @@ +#lang info + +(define post-install-collection "index.rkt") \ No newline at end of file