MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / PreBuild

Method PreBuild

scripts/update_deps.py:563–572  ·  view source on GitHub ↗

Execute any prebuild steps from the repo root

(self)

Source from the content-addressed store, hash-verified

561 return cmd_str.format(repo_dict, self._args, CONFIG_MAP[self._args.config])
562
563 def PreBuild(self):
564 """Execute any prebuild steps from the repo root"""
565 for p in self.prebuild:
566 command_output(shlex.split(p), self.repo_dir)
567 if platform.system() == 'Linux' or platform.system() == 'Darwin':
568 for p in self.prebuild_linux:
569 command_output(shlex.split(p), self.repo_dir)
570 if platform.system() == 'Windows':
571 for p in self.prebuild_windows:
572 command_output(shlex.split(p), self.repo_dir)
573
574 def CustomBuild(self, repo_dict):
575 """Execute any custom_build steps from the repo root"""

Callers 1

BuildMethod · 0.95

Calls 2

command_outputFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected