diff options
author | rsiddharth <s@ricketyspace.net> | 2019-06-18 20:09:55 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-06-18 20:09:55 -0400 |
commit | 93c1aec877d17218c4a786081707a4b05793eb9f (patch) | |
tree | 213026f605cd85d1d6012e25d3ab261676850d8c | |
parent | 75da1f7cc7033c09fa2a3ad4fe228cfe54f709da (diff) |
hn/g -> hn
-rw-r--r-- | Makefile (renamed from hn/Makefile) | 0 | ||||
-rwxr-xr-x | hn (renamed from hn/g) | 6 |
2 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ (cdr athings:sxml)))))) (define (athings:data-dir) - (let ((dir (build-path (find-system-path 'orig-dir) "data"))) + (let ((dir (build-path (find-system-path 'orig-dir) "data/hn"))) (unless (directory-exists? dir) (make-directory dir)) dir)) @@ -91,10 +91,10 @@ (call-with-output-file f (λ (out) (write-json (cons slug l) out)) #:exists 'truncate)))) -(define (g) +(define (hn) (let* ((f (athings:file)) (h (athings:latest (athings:hash f) (athings)))) (call-with-output-file f (λ (out) (write-json h out)) #:exists 'truncate) (athings:index (slug)))) -(g) +(hn) |