Environment
The variables the CLI reads, and the flags every build command takes.
Variables
| Variable | What it sets | Default |
|---|---|---|
TARE_IMAGE | The container image both builds run in. A tag, or an immutable repository@sha256 digest. | tare-toolchain:0.2.0 |
TARE_HOME | The folder holding Tare's implementation of the Anchor crates. | Set by the install |
Flags shared by build, weigh and prove
| Flag | What it does | Default |
|---|---|---|
--manifest-path <path> | The program's Cargo.toml. In a workspace of several programs, it selects one. | Cargo.toml |
--host | Compile and run with the toolchain on this machine instead of the container. | Off |
--tests-corpus <path> | Adds recorded transactions from the program's own test suite to the corpus. | None |