Build¶
The build command consists of a few different flows depending on the platform being worked on.
Common code can be found here.
Build Platforms
The following is for the entrypoint into the build command.
Entry points for the relenv build CLI command.
- relenv.build.main(args: Namespace) None¶
The entrypoint to the
buildcommand.- Parameters:
args (
argparse.Namespace) – The arguments to the command
- relenv.build.platform_module() ModuleType¶
Return the right module based on sys.platform.
- relenv.build.setup_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentParser]) None¶
Setup the subparser for the
buildcommand.- Parameters:
subparsers (argparse._SubParsersAction) – The subparsers object returned from
add_subparsers