This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-30
Channels
- # announcements (6)
- # bangalore-clj (1)
- # beginners (169)
- # boot (8)
- # calva (20)
- # cider (32)
- # clj-kondo (78)
- # cljdoc (42)
- # cljs-dev (4)
- # clojure (126)
- # clojure-china (35)
- # clojure-dev (5)
- # clojure-europe (3)
- # clojure-italy (40)
- # clojure-nl (15)
- # clojure-portugal (1)
- # clojure-spec (4)
- # clojure-uk (67)
- # clojurescript (89)
- # community-development (2)
- # core-async (34)
- # cursive (46)
- # datomic (14)
- # dirac (1)
- # duct (8)
- # emacs (11)
- # events (5)
- # fulcro (21)
- # jackdaw (14)
- # jobs-discuss (6)
- # off-topic (37)
- # pedestal (24)
- # perun (1)
- # quil (3)
- # reagent (27)
- # reitit (1)
- # remote-jobs (1)
- # shadow-cljs (47)
- # sql (1)
- # vim (9)
- # yada (1)
What do :prep-tasks ["javac" "compile" ["run" ":duct/compiler"]]
in project.clj
file of duct-pedestal-reitit-master
template?
How can we setup template like this with deps.edn
and CLJ
?
I am not able to understand key concepts behind Duct
and Integrant
.
https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L258-L262
IMO the key concept is that the declarative config is turned into running system.
Don't really know much about the deps.edn
, but basically, you'll need to implement some kind of your own :prep-tasks
In deps.edn
the equivalent would be a function that compiles Java code, then Clojure code, then runs -main
with the argument :duct/compiler
.
Itβs there to allow keys that derive from :duct/compiler
to compile static resources to be included in the final release.