We are quite capable of building everything with cargo, but it might be nice to have an optionalMakefile to automate complex stuff or tasks that require multiple cargo commands.
Some things I'd like to see in the Makefile:
cargo test && cargo test --features unstable for testing with and without nightly-only features
cargo rustc --features clippy -- -Z no-trans -Z extra-plugins=clippy to lint (not build) the project with clippy and with the compiler's lints
this could be a make lint task that also lints with cargo fmt -- --write-mode=diff if rustfmt is installed
a make task for doing the coverage task from the Travis config?
Unless we decide to split the rope and editor core repos (#59), the Makefile would need to handle cd-ing into the an-rope directory to run commands for the Rope crate.
We are quite capable of building everything with
cargo
, but it might be nice to have an optionalMakefile
to automate complex stuff or tasks that require multiple cargo commands.Some things I'd like to see in the
Makefile
:cargo test && cargo test --features unstable
for testing with and without nightly-only featurescargo rustc --features clippy -- -Z no-trans -Z extra-plugins=clippy
to lint (not build) the project withclippy
and with the compiler's lintsclippy
would have to be added as an optional dependency for this to workmake lint
task that also lints withcargo fmt -- --write-mode=diff
ifrustfmt
is installedmake
task for doing the coverage task from the Travis config?Unless we decide to split the rope and editor core repos (#59), the
Makefile
would need to handlecd
-ing into thean-rope
directory to run commands for the Rope crate.