an-cabal/an-rope

Add a Makefile

Opened this issue · 2 comments

hawkw commented

We are quite capable of building everything with cargo, but it might be nice to have an optional Makefile 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
  • 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.

i can do it but i'm gonna wait until we've decided on #59, splitting out the rope would make this easier

hawkw commented

@twisted-pear yeah, that seems reasonable!