MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / validate

Method validate

tools/project.py:218–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216 self.progress_data_fancy_item: str = ""
217
218 def validate(self) -> None:
219 required_attrs = [
220 "build_dir",
221 "src_dir",
222 "tools_dir",
223 "check_sha_path",
224 "config_path",
225 "ldflags",
226 "linker_version",
227 "libs",
228 "version",
229 ]
230 for attr in required_attrs:
231 if getattr(self, attr) is None:
232 sys.exit(f"ProjectConfig.{attr} missing")
233
234 # Creates a map of object names to Object instances
235 # Options are fully resolved from the library and object

Callers 2

generate_buildFunction · 0.80
calculate_progressFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected