()
| 72 | } |
| 73 | |
| 74 | pub fn target_dir() -> PathBuf { |
| 75 | match std::env::var_os("CARGO_TARGET_DIR") { |
| 76 | Some(custom_dir) => workspace_dir().join(custom_dir), |
| 77 | None => workspace_dir().join("target"), |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | pub fn install_dir() -> PathBuf { |
| 82 | target_dir().join("cargo-run") |
no test coverage detected