This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-26
Channels
- # announcements (6)
- # beginners (328)
- # boot (2)
- # cider (72)
- # clara (6)
- # cljdoc (4)
- # cljsrn (5)
- # clojure (78)
- # clojure-europe (3)
- # clojure-italy (22)
- # clojure-nl (4)
- # clojure-spec (3)
- # clojure-uk (114)
- # clojurescript (22)
- # clojurex (54)
- # copenhagen-clojurians (1)
- # core-async (20)
- # cursive (8)
- # data-science (1)
- # datomic (22)
- # duct (11)
- # emacs (32)
- # events (1)
- # figwheel (2)
- # fulcro (18)
- # graalvm (53)
- # graphql (39)
- # luminus (6)
- # nrepl (6)
- # off-topic (53)
- # om (1)
- # re-frame (8)
- # reagent (19)
- # reitit (3)
- # shadow-cljs (28)
- # spacemacs (10)
- # sql (37)
- # tools-deps (33)
- # vim (9)
- # xtdb (6)
Hi! I’m trying to convert my workflow to clj/deps.edn, and I’m having a bit of trouble with depstar, which I am trying to use to package my app.
seancorfield/depstar @credulous?
:depstar {:extra-deps {com.healthfinch/depstar {:git/url ""
:sha "4aa7b35189693feebc7d7e4a180b8af0326c9164"} }
:main-opts ["-m" "hf.depstar.uberjar"]
}
switch to the fork (I originally wrote healthfinch/depstar but now sean has the canonical repo)
I'll update that blog post when I get to my desk -- thanks for catching that!
Updated. Make take a few minutes to clear the cache!
It’s over a year old. I should have been paying more attention. https://corfield.org/blog/2018/04/18/all-the-paths/
I'll update that blog post when I get to my desk -- thanks for catching that!
Thanks! Also, I’m floundering a bit trying to include my public
folder in the uberjar, using depstar. I created an alias with {:extra-paths ["public"]}
, but that includes the contents of the public folder into the root of the uberjar. Any advice?
Updated. Make take a few minutes to clear the cache!
@credulous So you have resources/public
-- would {:extra-paths ["resources"]}
do what you need?
Don't do that 🙂
Put public
inside resources
-- then your "source" paths are going to be "src" "resources"
And in your code, specify that pages etc come from "public"
rather than the root of your classpath.
{:root "public"}
in Compojure's resources
call (assuming you're using that?)