`Buildozer` return 1 if `NumIO` is greater than 0 (#889)

The motivation behind this is an infinite wait I ran into when I tried calling `Buildozer()` with `Options{}`. `Buildozer()` doesn't start any go-routines, then waits forever for data to come from any of the go-routines. We can't limit access to the `Options` struct, and someone might set this value less than 1 by mistake, so immediately stopping is probably a better behavior.

No tests because "buildozer_command_file_test.go" and "buildozer_test.go" don't have any tests that cover `Buildozer()`.
1 file changed
tree: beb9a1a41a0cd5a0becf27ce6b0b7bae412f2334
  1. .bazelci/
  2. api_proto/
  3. build/
  4. build_proto/
  5. buildifier/
  6. buildifier2/
  7. buildozer/
  8. bzlenv/
  9. config/
  10. convertast/
  11. deps_proto/
  12. differ/
  13. edit/
  14. extra_actions_base_proto/
  15. file/
  16. generatetables/
  17. lang/
  18. release/
  19. tables/
  20. testutils/
  21. unused_deps/
  22. warn/
  23. wspace/
  24. .bazelrc
  25. .gitignore
  26. BUILD.bazel
  27. CODEOWNERS
  28. CONTRIBUTING.md
  29. CONTRIBUTORS
  30. launcher.js
  31. LICENSE
  32. README.md
  33. status.py
  34. update_generated.sh
  35. WARNINGS.md
  36. WORKSPACE
README.md

Buildtools for bazel

This repository contains developer tools for working with Google's bazel buildtool.

Build status

Setup

See instructions in each tool's directory.