migration-tooling icon indicating copy to clipboard operation
migration-tooling copied to clipboard

Multiple Bazel Project Workspace Generator

Open promiseofcake opened this issue 8 years ago • 2 comments
trafficstars

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?

promiseofcake avatar Jun 13 '17 14:06 promiseofcake

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.

petroseskinder avatar Jul 07 '17 21:07 petroseskinder

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.

promiseofcake avatar Jul 26 '17 17:07 promiseofcake