Fork me on GitHub
#duct
<
2019-07-30
>
Ahmed Hassan05:07:34

What do :prep-tasks ["javac" "compile" ["run" ":duct/compiler"]] in project.clj file of duct-pedestal-reitit-master template?

Ahmed Hassan05:07:00

How can we setup template like this with deps.edn and CLJ?

Ahmed Hassan05:07:30

I am not able to understand key concepts behind Duct and Integrant.

jahson07:07:00

IMO the key concept is that the declarative config is turned into running system.

πŸ‘ 1
jahson07:07:43

Don't really know much about the deps.edn, but basically, you'll need to implement some kind of your own :prep-tasks

πŸ‘ 1
weavejester12:07:27

In deps.edn the equivalent would be a function that compiles Java code, then Clojure code, then runs -main with the argument :duct/compiler.

πŸ‘ 1
weavejester12:07:10

It’s there to allow keys that derive from :duct/compiler to compile static resources to be included in the final release.

πŸ‘ 1