Local iteration
You'll need Rust and Cargo. You can get the whole toolchain here!
After checking out this repository, cd
into the directory. You can use the standard Cargo commands. Below you'll find the most important ones.
Compile the whole project
This should get you the usual dev build.
cargo build
This one is the same, but it produces an optimized release build. It takes more time.
cargo build --release
Tests
Run the unit tests and documentation tests.
cargo test
Docs
Build the reference manual and open it in your browser.
cargo doc --open
Run the application
Run the application.
cargo run
Get the helpfile.
cargo run -- -h
Get the help text for the create
subcommand.
cargo run -- create -h
Initialize a project from the Go microservice blueprint.
cargo run -- create --blueprint https://github.com/jamf/rendr-sample-blueprint-go-microservice.git --dir my-project -v name:foo