duct

branch14 2021-03-07T07:22:46.015400Z

Does someone have an example what goes into dev.ednor local.edn ? It seems to me these files are ignored when I start with lein run. I guess I don't know how to use them properly. I would like to add a dependecyt to a module but only in dev, to ensure load order.

kwrooijen 2021-03-07T09:31:28.015800Z

They are ignored because lein run doesn't use the :duct.profile/dev or :duct.profile/local profiles

kwrooijen 2021-03-07T09:31:57.016Z

lein run is meant for production use

kwrooijen 2021-03-07T09:32:30.016200Z

(Well you'd actually build an uberjar for production but the effect is similar)

kwrooijen 2021-03-07T09:33:13.016400Z

If you want to use dev / local you need to use lein run (dev) (go)

branch14 2021-03-07T10:07:57.016600Z

Got it. Thanks for your enlighting explanations. :thumbsup:

1👍
kwrooijen 2021-03-07T09:31:28.015800Z

They are ignored because lein run doesn't use the :duct.profile/dev or :duct.profile/local profiles

kwrooijen 2021-03-07T09:31:57.016Z

lein run is meant for production use

kwrooijen 2021-03-07T09:32:30.016200Z

(Well you'd actually build an uberjar for production but the effect is similar)

kwrooijen 2021-03-07T09:33:13.016400Z

If you want to use dev / local you need to use lein run (dev) (go)

branch14 2021-03-07T10:07:57.016600Z

Got it. Thanks for your enlighting explanations. :thumbsup:

1👍