diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-27 22:53:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-27 22:53:32 +0800 |
| commit | 176fcf6fb761cb42ab25ebf447ee226955c54fef (patch) | |
| tree | 3239c3af97d95faa9be23d99a5fe7d881cebed1a /.run/src | |
| parent | e88fd90b6daae40e9ef5d4b0d54a81ebd7142ebe (diff) | |
chore: move config files to .config directory0.3.0
Diffstat (limited to '.run/src')
| -rw-r--r-- | .run/src/bin/test-all-markdown-code.rs | 2 | ||||
| -rw-r--r-- | .run/src/bin/update-version.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.run/src/bin/test-all-markdown-code.rs b/.run/src/bin/test-all-markdown-code.rs index 1c0c9e2..35c8bbe 100644 --- a/.run/src/bin/test-all-markdown-code.rs +++ b/.run/src/bin/test-all-markdown-code.rs @@ -21,7 +21,7 @@ async fn main() { #[cfg(windows)] let _ = colored::control::set_virtual_terminal(true); - let config_path = PathBuf::from("verified-docs.toml"); + let config_path = PathBuf::from(".config/verified-docs.toml"); if !config_path.exists() { eprintln_cargo_style!("verified-docs.toml not found in current directory"); std::process::exit(1); diff --git a/.run/src/bin/update-version.rs b/.run/src/bin/update-version.rs index 9d595bb..2283662 100644 --- a/.run/src/bin/update-version.rs +++ b/.run/src/bin/update-version.rs @@ -56,11 +56,11 @@ fn main() { println_cargo_style!("Version: {} -> {}", current_ver, new_ver); // Read version-files.toml - let config_path = Path::new(".run").join("version-files.toml"); + let config_path = Path::new(".config").join("version-files.toml"); let config_str = - std::fs::read_to_string(&config_path).expect("Failed to read .run/version-files.toml"); + std::fs::read_to_string(&config_path).expect("Failed to read .config/version-files.toml"); let config: Config = - toml::from_str(&config_str).expect("Failed to parse .run/version-files.toml"); + toml::from_str(&config_str).expect("Failed to parse .config/version-files.toml"); let mut updated_count = 0; let mut skipped_count = 0; |
