diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-03-09 14:58:43 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-03-09 14:58:43 +0800 |
| commit | 74e16adb598bd3e52c33018e9021c7535210621e (patch) | |
| tree | f5de1f28ef671cae9ceee6608a158e13264a237a | |
| parent | 239cd62103d617f0b2a9d58527843417a0db6ab4 (diff) | |
Rename policy template files from .t to .tmpl extension
| -rw-r--r-- | policy/_policies/Cargo.toml.tmpl (renamed from policy/_policies/Cargo.toml.t) | 0 | ||||
| -rw-r--r-- | policy/_policies/src/lib.rs.tmpl (renamed from policy/_policies/src/lib.rs.t) | 0 | ||||
| -rw-r--r-- | src/bin/butckrepo-refresh.rs | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/policy/_policies/Cargo.toml.t b/policy/_policies/Cargo.toml.tmpl index aab90b9..aab90b9 100644 --- a/policy/_policies/Cargo.toml.t +++ b/policy/_policies/Cargo.toml.tmpl diff --git a/policy/_policies/src/lib.rs.t b/policy/_policies/src/lib.rs.tmpl index db0dc0f..db0dc0f 100644 --- a/policy/_policies/src/lib.rs.t +++ b/policy/_policies/src/lib.rs.tmpl diff --git a/src/bin/butckrepo-refresh.rs b/src/bin/butckrepo-refresh.rs index 2b3d841..ea7e753 100644 --- a/src/bin/butckrepo-refresh.rs +++ b/src/bin/butckrepo-refresh.rs @@ -7,8 +7,8 @@ use std::{ }; use tokio::fs; -const LIB_RS_TEMPLATE_PATH: &str = "policy/_policies/src/lib.rs.t"; -const CARGO_TOML_TEMPLATE_PATH: &str = "policy/_policies/Cargo.toml.t"; +const LIB_RS_TEMPLATE_PATH: &str = "policy/_policies/src/lib.rs.tmpl"; +const CARGO_TOML_TEMPLATE_PATH: &str = "policy/_policies/Cargo.toml.tmpl"; const LIB_RS_PATH: &str = "./policy/_policies/src/lib.rs"; const CARGO_TOML_PATH: &str = "./policy/_policies/Cargo.toml"; |
