Just enough fix to get this to build
Does not resolve problem of listing resources in jar
This commit is contained in:
parent
3567838fa8
commit
a44014e82f
|
@ -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"]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue