From ffeee3c56d852549a5c48d7452b30dde30bc02e5 Mon Sep 17 00:00:00 2001 From: Lee Read Date: Sun, 8 Sep 2024 16:43:17 -0400 Subject: [PATCH] lib tests: add splint - woot! (#313) --- README.adoc | 1 + script/test_libs.clj | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.adoc b/README.adoc index 8c0a4c7..fdb447c 100644 --- a/README.adoc +++ b/README.adoc @@ -66,6 +66,7 @@ Some projects using rewrite-clj v1 * https://github.com/pink-gorilla/reval[reval] {canary-tested} -reproduceable eval - namespace eval and storage with browser ui * https://github.com/borkdude/rewrite-edn[rewrite-edn] {canary-tested} - Utility lib on top of rewrite-clj with common operations to update EDN while preserving whitespace and comments * https://github.com/matthewdowney/rich-comment-tests[rich-comment-tests] {canary-tested} - Turns rich comment forms into tests +* https://github.com/NoahTheDuke/splint[splint] {canary-tested} - A Clojure linter focused on style and code shape * https://github.com/lread/test-doc-blocks[test-doc-blocks] {canary-tested} - Test AsciiDoc and CommonMark code blocks found in articles and docstrings * https://github.com/nubank/umschreiben-clj[umschreiben-clj] {canary-tested} - Rewrite utilities for refactoring clojure files * https://github.com/kkinnear/zprint[zprint] {canary-tested} - Executables, uberjar, and library to beautifully format Clojure and Clojurescript source code and s-expressions diff --git a/script/test_libs.clj b/script/test_libs.clj index 16e53b6..5097335 100755 --- a/script/test_libs.clj +++ b/script/test_libs.clj @@ -437,6 +437,14 @@ :patch-fn deps-edn-v1-patch :show-deps-fn cli-deps-tree :test-cmds ["bb test-clj"]} + {:name "splint" + :version "1.17.0" + :platforms [:clj] + :github-release {:repo "NoahTheDuke/splint" + :version-prefix "v"} + :patch-fn deps-edn-v1-patch + :show-deps-fn cli-deps-tree + :test-cmds ["clojure -M:dev:test:runner"]} {:name "test-doc-blocks" :version "1.1.20" :platforms [:clj :cljs]