MCPcopy Create free account
hub / github.com/carbonengine/trinity / get_extra_args

Function get_extra_args

shadercompiler/pythonBuildScript/build.py:200–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199
200def get_extra_args():
201 try:
202 with open(ARGS_PATH) as f:
203 args = json.load(f)
204 except (IOError, OSError):
205 return []
206 if 'metal' in args:
207 return ['/metal', str((Path(ARGS_PATH).parent / args['metal']).resolve())]
208 return []
209
210
211def build(paths, vcs, incremental, platforms=SUPPORTED_PLATFORMS, shader_models=tuple(SHADER_MODELS),

Callers 1

buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected