Expand description
Format, lint, build, and deploy workspace binaries and Nvim libs.
Β§Errors
- Cargo commands or file copy operations fail.
ConstantsΒ§
- BINS π
- List of binaries that should be copied after building. NOTE: if a new binary is added this list must be updated!
- BINS_
DEFAULT_ πPATH - Path segments for the default binaries install dir.
- LIBS π
- List of library files that need to be renamed after building, mapping (
source_name,target_name). - NVIM_
LIBS_ πDEFAULT_ PATH - Path segments for the Nvim libs install dir.
FunctionsΒ§
- cp π
- Copies a built binary or library from
fromtotousing [ytil_sys::file::atomic_cp] and prints an βInstalledβ status line. - drop_
element π - Removes the first occurrence of an element from a vector.
Returns
trueif found and removed,falseotherwise. - main π
- Format, lint, build, and deploy workspace binaries and Nvim libs.
- remove_
last_ πn_ dirs - Removes the last
ndirectories from aPathBuf.