Closed kchodorow closed 7 years ago
Wow, it is super annoying writing shell tests without unittest.bash. Working on that...
That's a no on the shell tests. It's too hard to get a copy of Bazel (sadly) and generate_workspace contact Maven Central, which seems suboptimal.
I added more info to the README and Michelle's currently got a CL in progress documenting this.
Too bad on the shell tests, but the README is definitely helpful.
This splits the output writer into old & new versions. By default,
generate_workspace
will write generate_workspace.bzl, but users can specify--direct-to-ws
to get the old behavior.See BzlWriter.java#L54 for new usage info.