Consistent naming for binaries
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m1s
Cargo CI / Lint (pull_request) Successful in 44s

This commit is contained in:
Wojciech Kozlowski 2024-01-11 21:17:09 +01:00
parent 36b82049f2
commit f35c88680d
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ name = "musichoard"
required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"] required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"]
[[bin]] [[bin]]
name = "mh-edit" name = "musichoard-edit"
required-features = ["bin", "database-json"] required-features = ["bin", "database-json"]
[package.metadata.docs.rs] [package.metadata.docs.rs]

View File

@ -32,7 +32,7 @@ grcov codecov/debug/profraw \
--ignore-not-existing \ --ignore-not-existing \
--ignore "tests/*" \ --ignore "tests/*" \
--ignore "src/main.rs" \ --ignore "src/main.rs" \
--ignore "src/bin/mh-edit.rs" \ --ignore "src/bin/musichoard-edit.rs" \
--excl-start "GRCOV_EXCL_START|mod tests \{" \ --excl-start "GRCOV_EXCL_START|mod tests \{" \
--excl-stop "GRCOV_EXCL_STOP" \ --excl-stop "GRCOV_EXCL_STOP" \
--output-path ./codecov/debug/coverage/ --output-path ./codecov/debug/coverage/

View File

@ -11,7 +11,7 @@ use musichoard::{
type MH = MusicHoard<NoLibrary, JsonDatabase<JsonDatabaseFileBackend>>; type MH = MusicHoard<NoLibrary, JsonDatabase<JsonDatabaseFileBackend>>;
#[derive(StructOpt, Debug)] #[derive(StructOpt, Debug)]
#[structopt(about = "mh-edit: edit the MusicHoard database", #[structopt(about = "musichoard-edit: edit the MusicHoard database",
global_settings=&[AppSettings::DeriveDisplayOrder])] global_settings=&[AppSettings::DeriveDisplayOrder])]
struct Opt { struct Opt {
#[structopt( #[structopt(