This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Just got an interesting log message:
Not sure what outputs it.
[2020-01-12 13:45:31.565 - INFO] filename violation for ns dirac.playground, got: dirac/playground-template/src/dirac/playground.cljs expected: dirac/playground.cljs (or .cljc)
this looks like a message from cljs compiler - it found playground.cljs on classpath before it looked on disk, my intention was to extract playground-template from jar to disk and then compile it from on-disk files
just googled a bit and it looks like the message is produced by shadow-cljs: https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/build/classpath.clj#L696
now it makes sense, shadow-cljs indexes all cljs resources and because you have a dep on dirac and dirac has this template directory in its jar, shadow-cljs reports this problem
this should work around it: https://github.com/binaryage/dirac/commit/b68da36fdf45675668d29bf85b64ca13082715df
Nice, thanks! I'll try it out when it's released.
BTW do you plan to add
deps.edn so that Dirac could be used directly from Git by
I’m considering breaking dirac.jar into multiple jars with less deps, e.g. dirac-runtime, dirac-nrepl and dirac-cli
this way we would avoid future clashes, because dirac-cli would not pollute user’s project which is including dirac-runtime
Oh, sorry - I must be blind, I didn't notice the file was there the first time I looked. Splitting into multiple jars sounds nice!