ValdemarGr / mezel

Scala BSP implementation for Bazel.
Apache License 2.0
17 stars 2 forks source link

Support for partially buildable monorepo #41

Open eed3si9n opened 2 months ago

eed3si9n commented 2 months ago

steps

I don't have a exact repro, but basically a monorepo that I work on doesn't fully build on ARM macOS due to some Python libraries.

problem

I can't get Mezel to work since it seems like Mezel calls bazel query 'deps(...)'. Not sure how other BSP servers workaround this issue, but it would be nice if Mezel could support this.

ValdemarGr commented 2 months ago

The log (.metals/metals.log) should contain all commands that mezel runs.

Is it the build (compile task), build (aspects in the buildTargets task) or aquery command(s) that fails?

If it is the compile task that fails then since I have a representation of the build graph in-memory, I suppose I could specify the roots as the targets to build instead of ....

eed3si9n commented 2 months ago

I'm off this week, but I'll try to get this information next week.