|
161 | 161 | (status/line :detail (format "-> here's the diff for %s" fname))
|
162 | 162 | (shcmd-no-exit ["git" "--no-pager" "diff" "--no-index" orig-filename fname])))
|
163 | 163 |
|
164 |
| -;; |
165 |
| -;; antq |
166 |
| -;; |
167 |
| -(defn antq-patch [{:keys [home-dir rewrite-clj-version]}] |
168 |
| - (patch-deps {:filename (str (fs/file home-dir "deps.edn")) |
169 |
| - :removals #{'lread/rewrite-cljc} |
170 |
| - :additions {'rewrite-clj/rewrite-clj {:mvn/version rewrite-clj-version}}}) |
171 |
| - (patch-rewrite-cljc-sources home-dir)) |
172 |
| - |
173 | 164 | ;;
|
174 | 165 | ;; carve
|
175 | 166 | ;;
|
|
204 | 195 | (defn- cljstyle-patch [{:keys [home-dir rewrite-clj-version]}]
|
205 | 196 | (patch-deps {:filename (str (fs/file home-dir "project.clj"))
|
206 | 197 | :removals #{'rewrite-clj}
|
207 |
| - :additions [['rewrite-clj rewrite-clj-version]]}) |
208 |
| - |
209 |
| - (status/line :detail "=> cljstyle needs to hacks to work with rewrite-clj v1") |
210 |
| - (status/line :detail "=> hack 1 of 2: update ref to internal use of StringNode") |
211 |
| - (replace-in-file (str (fs/file home-dir "src/cljstyle/format/zloc.clj")) |
212 |
| - "rewrite_clj.node.string.StringNode" |
213 |
| - "rewrite_clj.node.stringz.StringNode") |
214 |
| - |
215 |
| - (status/line :detail "=> hack 2 of 2: update test expectation of exception type") |
216 |
| - (replace-in-file (str (fs/file home-dir "test/cljstyle/task_test.clj")) |
217 |
| - "java.lang.Exception: Unexpected" |
218 |
| - "clojure.lang.ExceptionInfo: Unexpected")) |
| 198 | + :additions [['rewrite-clj rewrite-clj-version]]})) |
219 | 199 |
|
220 | 200 | ;;
|
221 | 201 | ;; depot
|
|
371 | 351 | :show-deps-fn lein-deps-tree
|
372 | 352 | :test-cmds [["lein" "test"]]}
|
373 | 353 | {:name "cljstyle"
|
374 |
| - :version "0.14.0" |
| 354 | + :version "0.15.0" |
375 | 355 | :platforms [:clj]
|
376 |
| - :note "2 minor hacks to pass with rewrite-clj v1" |
377 | 356 | :github-release {:repo "greglook/cljstyle"
|
378 | 357 | :via :tag}
|
379 | 358 | :patch-fn cljstyle-patch
|
|
382 | 361 | ["lein" "test"]]}
|
383 | 362 | {:name "clojure-lsp"
|
384 | 363 | :platforms [:clj]
|
385 |
| - :version "2021.03.24-00.41.55" |
| 364 | + :version "2021.03.30-20.42.34" |
386 | 365 | :github-release {:repo "clojure-lsp/clojure-lsp"}
|
387 | 366 | :patch-fn clojure-lsp-patch
|
388 | 367 | :show-deps-fn cli-deps-tree
|
|
452 | 431 | :prep-fn refactor-nrepl-prep
|
453 | 432 | :test-cmds [["lein" "with-profile" "+1.10,+plugin.mranderson/config" "test"]]}
|
454 | 433 | {:name "test-doc-blocks"
|
455 |
| - :version "1.0.116-alpha" |
| 434 | + :version "1.0.124-alpha" |
456 | 435 | :platforms [:clj :cljs]
|
457 | 436 | :note "generates tests under clj, but can also be run under cljs"
|
458 | 437 | :github-release {:repo "lread/test-doc-blocks"
|
|
0 commit comments