Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.52 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.52 KB

Purpose

To simplify cargo check, cargo check --tests --benches, cargo test for all cami-related repositories.

This itself is not a Rust crate (and is not published on crates.io).

Limitation: symlinks

This Rust workspace does not contain its members (crates). It refers to them through symlinks. So this needs on OS & filesystem that support symlinks.

You'll also need to git clone all related repositories into neighbor directories (next to the clone of this cami-workspace):

So the directory subtree should look like:

|
|-- some-common-immediate-parent
|   |
|   |-- ...
|   |-- cami
|   |-- cami-benches
|   |-- cami-helpers
|   |-- cami-helpers-testers
|   |-- cami-workspace
|   |-- ...

Then run cargo check, cargo check --tests --benches, cargo test, cargo bench... in this workspace (right under cami-workspace/).

Beware: cargo bench may have problems. See iai-callgrind/iai-callgrind#4.

GIT ergonomics

You can install mgitstatus. Then run the following in a directory one level above the clones of those repos (e.g. some-common-immediate-parent/): mgitstatus cami*, or mgitstatus -e cami* to exclude ones that are 'ok'.