Fork me on GitHub
#polylith
<
2021-11-27
>
hugod14:11:07

how do we set :is-verbose when running tests?

hugod14:11:28

poly test :verbose seems to do it

hugod14:11:16

poly test was failing, trying to require (quote ) namespace. Turns out there was a stray editor save file with a …-test.clj name but no content. Maybe the poly command could be more robust to this.

Nikolas Pafitis19:11:43

I'm looking at https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app/blob/master/deps.edn for understanding better the changes that got introduced with workspace.edn. My question is that at the root deps.edn for the development project components are added the old-fashioned way as extra-paths and their dependencies as extra-deps, while the production project adds them as deps with the :local/root syntax. Can't i do the same for my dev project?

seancorfield20:11:29

@U0105D1EL4B Yes, the "correct" way is via :extra-deps and :local/root deps -- which is what the docs says BUT Cursive cannot currently find source code referenced that way so the :extra-paths approach is a workaround purely for Cursive.

seancorfield20:11:48

LSP just got a fix for this too by the way.

👍 1
Nikolas Pafitis20:11:39

I see @U04V70XH6 thanks for the tip.

Nikolas Pafitis17:11:17

@U04V70XH6 It seems weird though, i import my components using the :extra-deps and `:local/root` deps and cursive seems to index my dev project and components just fine.

seancorfield18:11:33

Then maybe Cursive also fixed their bug?

tengstrand18:11:25

Colin said that he was going to look into this, and also have a meeting with us in the Polylith team when he had time. He hasn’t reached back to us yet and the https://github.com/cursive-ide/cursive/issues/2554 is not marked as resolved, so I don’t know the status of it.