File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ See https://github.com/clj-commons/rewrite-clj/projects/1[project page for curre
50
50
51
51
Some projects using rewrite-clj v1
52
52
53
+ * https://github.com/xsc/ancient-clj[ancient-clj] {canary-tested}
53
54
* https://github.com/liquidz/antq[antq] {canary-tested}
54
55
* https://github.com/babashka/babashka[babashka] {not-canary-tested}
55
56
* https://github.com/borkdude/carve[carve] {canary-tested} (in dev)
Original file line number Diff line number Diff line change 157
157
(shcmd {:dir home-dir :continue true }
158
158
" git --no-pager diff" ))
159
159
160
+ ; ;
161
+ ; ; ancient-clj
162
+ ; ;
163
+ (defn ancient-clj-patch [{:keys [home-dir rewrite-clj-version]}]
164
+ (patch-deps {:filename (str (fs/file home-dir " project.clj" ))
165
+ ; ; we remove and add tools.reader because project.clj has pedantic? :abort enabled
166
+ :removals #{'rewrite-clj 'org.clojure/tools.reader}
167
+ :additions [['org.clojure/tools.reader " 1.3.6" ]
168
+ ['rewrite-clj rewrite-clj-version]]}))
169
+
160
170
; ;
161
171
; ; carve
162
172
; ;
302
312
; ; lib defs
303
313
; ;
304
314
305
- (def libs [{:name " antq"
315
+ (def libs [{:name " ancient-clj"
316
+ :version " 2.0.0"
317
+ :platforms [:clj ]
318
+ :github-release {:repo " xsc/ancient-clj"
319
+ :version-prefix " v" }
320
+ :patch-fn ancient-clj-patch
321
+ :show-deps-fn lein-deps-tree
322
+ :test-cmds [" lein kaocha" ]}
323
+ {:name " antq"
306
324
:version " 1.0.0"
307
325
:platforms [:clj ]
308
326
:github-release {:repo " liquidz/antq" }
You can’t perform that action at this time.
0 commit comments