Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
- Removed EclipseStore
- io.aviso bright-<color> instead of bold-<color>
- Datomic local
  • Loading branch information
danielsz committed Nov 12, 2024
1 parent b669b4f commit 25613c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.org
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
* Changes
** 0.5.5-SNAPSHOT
** 0.5.5
- Init-fn for Mariadb component.
- Support for Datomic local. Init-fn takes the Datomic connection as argument.
** 0.5.4
Expand Down
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{:deps {prismatic/schema {:mvn/version "1.4.1"}
org.danielsz/lang-utils {:mvn/version "0.1.5"}
org.clojure/tools.namespace {:mvn/version "1.4.4"}
org.danielsz/lang-utils {:mvn/version "0.1.6"}
org.clojure/tools.namespace {:mvn/version "1.5.0"}
io.aviso/pretty {:mvn/version "1.4.4"}
com.stuartsierra/component {:mvn/version "1.1.0"}}}
8 changes: 4 additions & 4 deletions src/system/repl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[clojure.tools.namespace.track :as track]
[system.reload :as reload]
[clojure.stacktrace :as st]
[io.aviso.ansi :refer [bold-red bold-yellow]] ))
[io.aviso.ansi :refer [bright-red bright-yellow]] ))


(declare system)
Expand Down Expand Up @@ -36,19 +36,19 @@
(defn refresh [tracker {:keys [restart? mode]}]
(when restart?
(stop)
(println (bold-yellow (str "Stopping " system-sym))))
(println (bright-yellow (str "Stopping " system-sym))))

(when (= mode :tools.namespace) (println "Unmapping namespaces:" (::track/unload @tracker)))
(println "Recompiling namespaces:" (::track/load @tracker))
(swap! tracker reload/track-reload (= mode :tools.namespace))
(when (::reload/error @tracker)
(swap! @(resolve 'boot.core/*warnings*) inc)
(println (bold-red (str "Error reloading: " (::reload/error-ns @tracker))))
(println (bright-red (str "Error reloading: " (::reload/error-ns @tracker))))
(st/print-throwable (::reload/error @tracker)))

(when restart?
(start)
(println (bold-yellow (str "Starting " system-sym)))))
(println (bright-yellow (str "Starting " system-sym)))))


;; No need to break API signatures
Expand Down

0 comments on commit 25613c5

Please sign in to comment.