Function configure_me_codegen::build_script_with_man
source · pub fn build_script_with_man<P: AsRef<Path>>(source: P) -> Result<(), Error>
👎Deprecated: use of cfg_me crate to build man pages is cleaner
Expand description
Generates the source code and manual page at default location.
This function is deprecated because generating man page in compilation step is surprising. An
external cfg_me
tool is provided that can generate the man page and save it to predictable
location. This function uses OUT_DIR
which is a weird place to put man page (and there’s no
better).
This is same as build_script()
, but additionaly it generates a man page.
The resulting man page will be stored in $OUT_DIR/app.man
.