From a44014e82f556cf6dab39aa81edbac9c8e7b9c5e Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 9 Dec 2021 20:36:01 +0000 Subject: [PATCH] Just enough fix to get this to build Does not resolve problem of listing resources in jar --- project.clj | 6 +++--- src/mw_ui/util.clj | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/project.clj b/project.clj index 2476ddb..871fe1a 100644 --- a/project.clj +++ b/project.clj @@ -9,8 +9,8 @@ "Implementation-Version" "unset" } :dependencies [[org.clojure/clojure "1.8.0"] - [mw-engine "0.1.6-SNAPSHOT"] - [mw-parser "0.1.6-SNAPSHOT"] + [mw-engine "0.1.5"] + [mw-parser "0.1.5"] [lib-noir "0.9.9"] [ring-server "0.5.0"] [selmer "1.11.3" :exclusions [cheshire @@ -23,7 +23,7 @@ [markdown-clj "1.0.1"] [environ "1.1.0"] [noir-exception "0.2.5"]] - + :main mw-ui.repl :repl-options {:init-ns mw-ui.repl} :plugins [[lein-ring "0.8.11"] [lein-environ "0.5.0"] diff --git a/src/mw_ui/util.clj b/src/mw_ui/util.clj index fa59383..b890d6b 100644 --- a/src/mw_ui/util.clj +++ b/src/mw_ui/util.clj @@ -37,8 +37,9 @@ (md/md-to-html-string))) -(defn list-resources [directory pattern] +(defn list-resources "List resource files matching `pattern` in `directory`." + [directory pattern] (let [path (str (io/resource-path) directory)] (session/put! :list-resources-path path)