Skip to content

Commit e55a173

Browse files
committed
🎨 Symlink readme instead of complicating the build
1 parent 939e874 commit e55a173

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.cargo/config.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

crates/terminal-colorsaurus/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "terminal-colorsaurus"
33
description = "Determines the background and foreground color of the terminal"
4-
readme = "../../readme.md"
4+
readme = "readme.md"
55
repository = "https://github.com/bash/terminal-colorsaurus"
66
categories = ["command-line-interface"]
77
keywords = ["terminal", "light", "dark", "color-scheme", "cli"]

crates/terminal-colorsaurus/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../readme.md

crates/terminal-colorsaurus/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ cfg_if! {
131131
}
132132

133133
#[cfg(doctest)]
134-
#[cfg_attr(terminal_colorsaurus_in_tree, doc = include_str!("../../../readme.md"))]
135-
#[cfg_attr(not(terminal_colorsaurus_in_tree), doc = include_str!("../readme.md"))]
134+
#[doc = include_str!("../readme.md")]
136135
pub mod readme_doctests {}
137136

138137
pub use color::*;

0 commit comments

Comments
 (0)