From 639a0b173544e540fb7640be60ca89c5af71eb84 Mon Sep 17 00:00:00 2001 From: "Howard M. Lewis Ship" Date: Thu, 22 Jun 2023 15:50:42 -0700 Subject: [PATCH] Tweak URLs for move to clj-commons --- README.md | 4 ++-- build.clj | 21 ++------------------- deps.edn | 4 ++-- 3 files changed, 6 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 1945427..5d41988 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Clojars](https://img.shields.io/clojars/v/io.aviso/pretty.svg)](http://clojars.org/io.aviso/pretty) -[![CI](https://github.com/AvisoNovate/pretty/actions/workflows/clojure.yml/badge.svg)](https://github.com/AvisoNovate/pretty/actions/workflows/clojure.yml) +[![Clojars](https://img.shields.io/clojars/v/org.clj-commons/pretty.svg)](http://clojars.org/clj-commons/pretty) +[![CI](https://github.com/clj-commons/pretty/actions/workflows/clojure.yml/badge.svg)](https://github.com/AvisoNovate/pretty/actions/workflows/clojure.yml) *Sometimes, neatness counts* diff --git a/build.clj b/build.clj index d5b9d4f..ccd3862 100644 --- a/build.clj +++ b/build.clj @@ -5,7 +5,7 @@ [net.lewisship.build :as b] [clojure.string :as str])) -(def lib 'io.aviso/pretty) +(def lib 'org.clj-commons/pretty) (def version (-> "VERSION.txt" slurp str/trim)) (def jar-params {:project-name lib @@ -27,22 +27,5 @@ (defn codox [_params] (b/generate-codox {:project-name lib - :version version - :aliases [:dev]})) + :version version})) -(def publish-dir "../aviso-docs/pretty") - -(defn publish - "Generate Codox documentation and publish via a GitHub push." - [_params] - (println "Generating Codox documentation ...") - (codox nil) - (println "Copying documentation to" publish-dir "...") - (build/copy-dir {:target-dir publish-dir - :src-dirs ["target/doc"]}) - (println "Committing changes ...") - (build/process {:dir publish-dir - :command-args ["git" "commit" "-a" "-m" (str "io.aviso/pretty " version)]}) - (println "Pushing changes ...") - (build/process {:dir publish-dir - :command-args ["git" "push"]})) diff --git a/deps.edn b/deps.edn index a054183..af216a5 100644 --- a/deps.edn +++ b/deps.edn @@ -32,8 +32,8 @@ {:main-opts ["-m" "clj-commons.pretty.repl"]}} :net.lewisship.build/scm - {:url "https://github.com/AvisoNovate/pretty"} + {:url "https://github.com/clj-commons/pretty"} :codox/config {:description "Clojure library to help print things, prettily" - :source-uri "https://github.com/AvisoNovate/pretty/blob/master/{filepath}#L{line}"}} + :source-uri "https://github.com/clj-commons/pretty/blob/master/{filepath}#L{line}"}}