Crate robuild

Source

Macros§

go_rebuild_yourself
Call dis macro in your build recipe, and the program will rebuild itself, freeing you from the need to rebuilding your build recipe file
log
You can log things just like we do in Rob functions, pass the LogLevel enum variant and then format your output like you’r using the println! macro. For instance:
mkdirs
Just pass strs and it will create directories, whether it nested or not. For instance:
path
Macro similar to the vec! macro, but produces std::path::Pathbuf instead of std::vec::Vec
pathbuf
Macro similar to the vec! macro, but produces std::path::Pathbuf instead of std::vec::Vec

Structs§

Config
Dir
Structure for convenient non-recursive work with directories.
DirRec
Structure for convenient work with directories.
Job
Rob
The main Rob structure.
RobCommand
Structure for executing commands (actually just keeping them, but it’s just for now)

Enums§

LogLevel
RobError

Constants§

CC
CMD_ARG
CMD_ARG2
CXXC
CXX_COMPILER
C_COMPILER
DELIM
DELIM_CHAR
MAP
MOVE_ACP_PTR_SYMBOL
Special symbol that you can put at the end of your slice while passing it to the append function to perform append and move acp ptr simultaneously. But I recommend you to use the append_mv function instead, it does the same but, you don’t need to put anything special at the end of the slice.

Type Aliases§

IoError
IoResult
RobResult