From 5a4a707004bf48014506a182b4fa9e91bf429f73 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 4 May 2021 21:47:34 -0500 Subject: [PATCH] refactor(cli): Separate out bin --- Cargo.toml | 2 +- src/{ => bin/typos-cli}/args.rs | 0 src/{ => bin/typos-cli}/main.rs | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => bin/typos-cli}/args.rs (100%) rename src/{ => bin/typos-cli}/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 02125a3..658389e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ pre-release-replacements = [ [[bin]] name = "typos" -path = "src/main.rs" +path = "src/bin/typos-cli/main.rs" doc = false [badges] diff --git a/src/args.rs b/src/bin/typos-cli/args.rs similarity index 100% rename from src/args.rs rename to src/bin/typos-cli/args.rs diff --git a/src/main.rs b/src/bin/typos-cli/main.rs similarity index 100% rename from src/main.rs rename to src/bin/typos-cli/main.rs