Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
docs(README.md): add section to show how to run with cargo run
Lars Wirzenius committed 1 year ago
commit fe0a86bf83dbd6280a04e47d7c48c0c45b150974
parent bbaa1c27c60610310349106ed211dce72e7ba059
1 file changed +14 -0
modified README.md
@@ -49,6 +49,20 @@ for Debian in the `debian` directory, used by Lars to build packages
for his own use.


+
## Running from the source tree
+

+
To run `cib` or `cibtool` from the source tree:
+

+
~~~sh
+
cargo run --bin cib -- --config config.yaml process-events
+
cargo run --bin cibtool -- --db ci-broker.db event list
+
~~~
+

+
Note the `--` argument. It tells `cargo run` that all the arguments
+
that follow are to be passed to the program being run, and not used by
+
`cargo` itself.
+

+

## Running tests

To run the test suite for the CI broker: