third_party.pigweed.src/pw_build
Alexei Frolov 32d8b4dfbc
Hide output of pw_exec programs by default
This change updates the pw_exec GN template and wrapper script to hide
the output of the program unless it exits unsuccessfully.

Sample output:

20200103 13:40:06 ERR
20200103 13:40:06 ERR Command failed with exit code 2 in GN build.
20200103 13:40:06 ERR
20200103 13:40:06 ERR Build target:
20200103 13:40:06 ERR
20200103 13:40:06 ERR   pw_target_runner_client_pw_go_get
20200103 13:40:06 ERR
20200103 13:40:06 ERR Full command:
20200103 13:40:06 ERR
20200103 13:40:06 ERR   go got github.com/golang/protobuf/proto google.golang.org/grpc
20200103 13:40:06 ERR
20200103 13:40:06 ERR Process output:

go got: unknown command
Run 'go help' for usage.

20200103 13:40:06 ERR

Bug: 34
Change-Id: I7e7b2a6d359ecf1eeff6918d56defb909141cbfd
2020-01-03 14:15:39 -08:00
..
py Hide output of pw_exec programs by default 2020-01-03 14:15:39 -08:00
BUILD Add license metadata to bazel files. 2019-11-15 11:52:14 -08:00
BUILD.gn Download external Go dependencies in build 2019-12-26 10:39:48 -08:00
docs.rst Add pw_input_group GN template 2019-12-14 00:11:34 +00:00
exec.gni Hide output of pw_exec programs by default 2020-01-03 14:15:39 -08:00
facade.gni pw_build: Add pw_facade template 2019-12-13 11:26:08 -08:00
go.gni Add pw_host_tool GN template 2019-12-26 21:58:46 +00:00
host_tool.gni Print an error if a host tool is running on copy 2020-01-02 20:49:48 +00:00
input_group.gni Add pw_input_group GN template 2019-12-14 00:11:34 +00:00
pigweed.bzl Add pw_protobuf module 2019-12-18 21:29:17 +00:00
pw_executable.gni Start build target config files 2019-11-14 00:34:25 +00:00
python_script.gni pw_build: Show subcommand output only on failure 2019-12-23 20:43:01 +00:00
README.md Add preprocessor and unit_test modules 2019-11-04 16:07:34 -08:00

pw_build: Definitions for Pigweed's build system