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