mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Groundwork for coverage with Nu internals. (#1205)
This commit is contained in:
committed by
GitHub
parent
5fd3191d91
commit
d3dae05714
@ -220,11 +220,16 @@ pub fn delete_directory_at(full_path: &str) {
|
||||
}
|
||||
|
||||
pub fn executable_path() -> PathBuf {
|
||||
let mut buf = PathBuf::new();
|
||||
buf.push("target");
|
||||
buf.push("debug");
|
||||
buf.push("nu");
|
||||
buf
|
||||
let mut path = binaries();
|
||||
path.push("nu");
|
||||
path
|
||||
}
|
||||
|
||||
pub fn binaries() -> PathBuf {
|
||||
let mut path = PathBuf::new();
|
||||
path.push("target");
|
||||
path.push("debug");
|
||||
path
|
||||
}
|
||||
|
||||
pub fn in_directory(str: impl AsRef<Path>) -> String {
|
||||
|
Reference in New Issue
Block a user