Skip to content

Commit

Permalink
Say something about Go.
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=89427921
  • Loading branch information
hanwen authored and lberki committed Mar 25, 2015
1 parent 36f3dc0 commit d35ebee
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,26 @@ We currently have no plans to provide packaging up of self-contained
Python binaries.


What about Go?
--------------

The server code written in Go at Google is also built with Bazel. The
rules that accomplish this are rather complex due to their
interactions with our C++ libraries, and we'd rather not open them up
in their current form. They also predate the conventions of the open
source `go` tool. Indeed, the experience with the Google internal
rules motivated some of the choices in the `go` tool.

If your codebase is 100% Go, the `go` tool has excellent support for
building and testing, and Bazel will not bring you much benefit.

For mixed language codebases, you could try the experimental rules at

<https://github.com/google/bazel/tree/master/examples/go>

They mimick the structure of our internal Go rules, and may require
editing some import lines.


Can I use Bazel for my LISP/Python/Haskell/Scala/Rust project?
-----------------------------------------------
Expand Down

0 comments on commit d35ebee

Please sign in to comment.