databuild/examples/hello_world
2025-04-17 16:12:55 -07:00
..
BUILD.bazel Initial commit 2025-04-17 15:53:55 -07:00
configure.sh clean up hello world 2025-04-17 16:12:55 -07:00
execute.sh Initial commit 2025-04-17 15:53:55 -07:00
MODULE.bazel Initial commit 2025-04-17 15:53:55 -07:00
MODULE.bazel.lock Initial commit 2025-04-17 15:53:55 -07:00
README.md clean up hello world 2025-04-17 16:12:55 -07:00

Hello World

Demonstrates a simple parameterized job.

Configure

$ bazel run //:test_job.cfg test_output
{"outputs":["test_output"],"inputs":[],"args":["will", "build", "test_output"],"env":{"foo":"bar"}}

Execute

Doesn't actually write an output.

$ bazel run //:test_job.cfg test_output | bazel run //:test_job
EXECUTE!
foo=bar
args=will build test_output