cursive
cursive copied to clipboard
Don't warn about "File build.boot is not under a source root"
When using Boot, the build.boot is at the same level as project.clj in most projects. However it is treated as being outside of a source root, so a warning is shown. It would be handy if build.boot files were:
- Default recognised as Clojure files, I think you need to manually add the association
- Treated like
project.cljfiles, where you don't get warned about being outside a source root.
For starters it would be enough to not show the warning. The warning tells me nothing I do not already know. I cannot do anything to change the situation. So the warning is just pure pain to me
Just noticed that deps-new generates a build.clj at the top level of a project
Which suffers from a similar issue
Using (clojure -Tnew app :name myusername/mynewapp)
Ah looks like the issue is that I didn't have the build aliases selected:

even with aliases base functionality doesn't work
@kwladyka Sometimes picking the new deps up can be flakey, which seems to be an IntelliJ problem. If you close and reopen your project, does that fix it?
I have checked right now and it works.