bazelbuild / migration-tooling

Migration tools for Bazel
Apache License 2.0
45 stars 30 forks source link

Multiple Bazel Project Workspace Generator #19

Open promiseofcake opened 7 years ago

promiseofcake commented 7 years ago

The previous version of the tool appeared to allow one to specify various Bazel projects and a combined WORKSPACE file would be generated. Is that something that we might be able to see with this project as well?

petroseskinder commented 7 years ago

Can you expand on what you mean by "various Bazel projects?" Are these local projects? As far as generating a WORKSPACE file, this is still supported. You simply need to pass --direct-to-ws as an argument.

promiseofcake commented 7 years ago

These would be local projects, so let's say I have projects a and b, right now in order to use b in a we need to manually pull in the dependencies from b into the WORKSPACE file for a. What I am looking for is a way to specify multiple projects and generate that combined WORKSPACE file, however I believe https://github.com/bazelbuild/bazel/issues/1943 is the correct solution.