File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
(if (zero? lm) nil lm)))
20
20
21
21
; ; structure here is {"prismatic/schem" ["0.1.1" "0.2.0" ...]}
22
- (defonce artifacts (atom (if (.exists (io/file artifacts-file))
23
- (->> artifacts-file slurp edn/read-string (into {}))
24
- {})
25
- :meta {:last-modified
26
- (get-last-modified-from-file artifacts-file)}))
22
+ (def artifacts (atom (if (.exists (io/file artifacts-file))
23
+ (->> artifacts-file slurp edn/read-string (into {}))
24
+ {})
25
+ :meta {:last-modified
26
+ (get-last-modified-from-file artifacts-file)}))
27
27
28
28
(def millis-per-day (* 24 60 60 1000 ))
29
29
Original file line number Diff line number Diff line change 8
8
9
9
; ; The structure here is {path {lang [timestamp value]}}
10
10
; ; where lang is either :clj or :cljs
11
- (defonce ^:private cache (atom {}))
11
+ (def ^:private cache (atom {}))
12
12
13
13
(defn- aliases [libspecs]
14
14
(->> libspecs
You can’t perform that action at this time.
0 commit comments