databuild/examples/hello_world/README.md

22 lines
393 B
Markdown

# Hello World
Demonstrates a simple parameterized job.
## Configure
```bash
$ 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.
```bash
$ bazel run //:test_job.cfg test_output | bazel run //:test_job
EXECUTE!
foo=bar
args=will build test_output
```