danger-0.1.0 doesn't have any documentation.
Danger in Rust
This is the minimal version of running Danger in Rust. It is a cargo module which expects the JSON DSL from Danger JS and provides a type-safe way to interact with it from inside the app.
Next Steps
- Figure out the distribution method to get it running on other people's CI
- Compiling a Rust dangerfile
danger.rs
and injecting that with the additional runtime work (passing data in/out) - Creating commands for
ci
,pr
,local
- Error handling
I'm learning everything from scratch, so, some of these may take quite a while.
Contributing
Building Danger
Running Danger in Dev
This is how you can test out how things work:
# Pipe the JSON in and potentially compile + exec
|
# Or, build then compile
# build the binary
# Run it and pipe in the JSON to STDIN
|
Scripts
Update the Rust Types from the JSON schema of Danger's DSL
Grab a Danger JS incoming JSON example
# uses danger-js the `--dangerfile xxyy` is a bug