From 4ba723d5cc0709bb31f82e7143fc2b58f7eee3d3 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 7 Nov 2022 14:42:08 +0100 Subject: [PATCH] Make Clippy happy, use license symlinks. --- hooked-cli/Cargo.toml | 1 - hooked-cli/LICENSE | 1 + hooked-cli/source/cli/cli_reference.rs | 1 + hooked-config/Cargo.toml | 1 - hooked-config/LICENSE | 1 + 5 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 hooked-cli/LICENSE create mode 120000 hooked-config/LICENSE diff --git a/hooked-cli/Cargo.toml b/hooked-cli/Cargo.toml index 22633f4..b652426 100644 --- a/hooked-cli/Cargo.toml +++ b/hooked-cli/Cargo.toml @@ -6,7 +6,6 @@ homepage = "https://hooked.holllo.org" repository = "https://git.bauke.xyz/Holllo/hooked" readme = "../README.md" license = "AGPL-3.0-or-later" -license-file = "../LICENSE" version = "0.1.0" authors = ["Holllo "] edition = "2021" diff --git a/hooked-cli/LICENSE b/hooked-cli/LICENSE new file mode 120000 index 0000000..7a694c9 --- /dev/null +++ b/hooked-cli/LICENSE @@ -0,0 +1 @@ +LICENSE \ No newline at end of file diff --git a/hooked-cli/source/cli/cli_reference.rs b/hooked-cli/source/cli/cli_reference.rs index 7bc5b90..998c1d9 100644 --- a/hooked-cli/source/cli/cli_reference.rs +++ b/hooked-cli/source/cli/cli_reference.rs @@ -10,6 +10,7 @@ use { use crate::cli::CliReferenceArgs; +/// The CLI reference template. const REFERENCE_TEMPLATE: &str = include_str!("../templates/cli-reference.txt"); /// The `cli-reference` subcommand. diff --git a/hooked-config/Cargo.toml b/hooked-config/Cargo.toml index 21305f5..54ffc95 100644 --- a/hooked-config/Cargo.toml +++ b/hooked-config/Cargo.toml @@ -6,7 +6,6 @@ homepage = "https://hooked.holllo.org" repository = "https://git.bauke.xyz/Holllo/hooked" readme = "../README.md" license = "AGPL-3.0-or-later" -license-file = "../LICENSE" version = "0.1.0" authors = ["Holllo "] edition = "2021" diff --git a/hooked-config/LICENSE b/hooked-config/LICENSE new file mode 120000 index 0000000..7a694c9 --- /dev/null +++ b/hooked-config/LICENSE @@ -0,0 +1 @@ +LICENSE \ No newline at end of file