Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/path.rs')
-rw-r--r--xtask/src/path.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/xtask/src/path.rs b/xtask/src/path.rs
deleted file mode 100644
index a46bdda0..00000000
--- a/xtask/src/path.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-use std::path::{Path, PathBuf};
-
-pub fn project_root() -> PathBuf {
- Path::new(env!("CARGO_MANIFEST_DIR"))
- .parent()
- .unwrap()
- .to_path_buf()
-}
-
-pub fn book_gen() -> PathBuf {
- project_root().join("book/src/generated/")
-}
-
-pub fn runtime() -> PathBuf {
- project_root().join("runtime")
-}
-
-pub fn ts_queries() -> PathBuf {
- runtime().join("queries")
-}
-
-pub fn themes() -> PathBuf {
- runtime().join("themes")
-}