Rename hooked-library to hooked-config.
This commit is contained in:
parent
0743a982d1
commit
4f28ced1b1
|
@ -453,7 +453,7 @@ dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"clap",
|
"clap",
|
||||||
"color-eyre",
|
"color-eyre",
|
||||||
"hooked-library",
|
"hooked-config",
|
||||||
"insta",
|
"insta",
|
||||||
"owo-colors",
|
"owo-colors",
|
||||||
"subprocess",
|
"subprocess",
|
||||||
|
@ -463,7 +463,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hooked-library"
|
name = "hooked-config"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"color-eyre",
|
"color-eyre",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"hooked-cli",
|
"hooked-cli",
|
||||||
"hooked-library"
|
"hooked-config"
|
||||||
]
|
]
|
||||||
|
|
|
@ -22,8 +22,8 @@ tera = "1.17.1"
|
||||||
features = ["derive"]
|
features = ["derive"]
|
||||||
version = "4.0.18"
|
version = "4.0.18"
|
||||||
|
|
||||||
[dependencies.hooked-library]
|
[dependencies.hooked-config]
|
||||||
path = "../hooked-library"
|
path = "../hooked-config"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -4,7 +4,7 @@ use std::{io::Read, process::exit};
|
||||||
|
|
||||||
use {
|
use {
|
||||||
color_eyre::{eyre::eyre, Result},
|
color_eyre::{eyre::eyre, Result},
|
||||||
hooked_library::{Config, ExitAction},
|
hooked_config::{Config, ExitAction},
|
||||||
owo_colors::{OwoColorize, Style},
|
owo_colors::{OwoColorize, Style},
|
||||||
subprocess::{Exec, Redirection},
|
subprocess::{Exec, Redirection},
|
||||||
supports_color::Stream,
|
supports_color::Stream,
|
||||||
|
|
|
@ -14,7 +14,7 @@ use std::{
|
||||||
use {
|
use {
|
||||||
clap::Parser,
|
clap::Parser,
|
||||||
color_eyre::{eyre::eyre, install, Result},
|
color_eyre::{eyre::eyre, install, Result},
|
||||||
hooked_library::Config,
|
hooked_config::Config,
|
||||||
tera::{Context, Tera},
|
tera::{Context, Tera},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hooked-library"
|
name = "hooked-config"
|
||||||
description = "Git hooks manager."
|
description = "Configuration for Hooked."
|
||||||
repository = "https://git.bauke.xyz/Holllo/hooked"
|
repository = "https://git.bauke.xyz/Holllo/hooked"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
|
@ -1,6 +1,6 @@
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
use {color_eyre::Result, hooked_library::Config};
|
use {color_eyre::Result, hooked_config::Config};
|
||||||
|
|
||||||
use {insta::assert_debug_snapshot, test_case::test_case};
|
use {insta::assert_debug_snapshot, test_case::test_case};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use {
|
use {
|
||||||
hooked_library::{Config, ExitAction, PreCommit, Task},
|
hooked_config::{Config, ExitAction, PreCommit, Task},
|
||||||
toml::to_string_pretty,
|
toml::to_string_pretty,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue