Beginning Bazel: Building and Testing for Java, Go, and More by P.J. McNerney

Beginning Bazel: Building and Testing for Java, Go, and More by P.J. McNerney

Author:P.J. McNerney [P.J. McNerney]
Language: eng
Format: epub, pdf
Publisher: Apress
Published: 2019-12-16T16:00:00+00:00


Now we can build our echo server with Protocol Buffer support:chapter_06/src$ bazel build :echo_server

INFO: Analysed target //src:echo_server (0 packages loaded, 0 targets configured).

INFO: Found 1 target...

Target //src:echo_server up-to-date:

bazel-bin/src/darwin_amd64_stripped/echo_server

INFO: Elapsed time: 0.169s, Critical Path: 0.00s

INFO: 0 processes.

INFO: Build completed successfully, 1 total action

Echo Using Protocol Buffers

Having reconstructed our echo client and server with Protocol Buffers, we are now ready to have them start talking to each other again.

Open a terminal and start running the server:chapter_06/src$ bazel run :echo_server

INFO: Analysed target //src:echo_server (0 packages loaded, 0 targets configured).

INFO: Found 1 target...

Target //src:echo_server up-to-date:

bazel-bin/src/darwin_amd64_stripped/echo_server

INFO: Elapsed time: 0.169s, Critical Path: 0.00s

INFO: 0 processes.

INFO: Build completed successfully, 1 total action

INFO: Build completed successfully, 1 total action

2019/06/18 23:39:53 Spinning up the Echo Server in Go...



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.