cargo-ebuild icon indicating copy to clipboard operation
cargo-ebuild copied to clipboard

Make ebuild template configurable

Open gyakovlev opened this issue 4 years ago • 1 comments

Currently template is rather inflexible. We need to make in possible to load custom templates.

gyakovlev avatar Jun 30 '21 20:06 gyakovlev

Once #10 lands we could provide default templates for:

  • Crates that have system-dep in their deptree, we set the env-vars, add a dependency on pkg-config, potentially we came up with a list of external dependencies to match with the ebuild names. Here we could even autodetect it.
  • Crates that use cargo-c to build C-libraries
  • Crates that use clap
    • Support autocompletion in one of the common ways
    • Build manuals in one of the common ways

Do you know of other common patterns we could partially automate I'm forgetting of?

lu-zero avatar Aug 10 '21 09:08 lu-zero