RetroArch
Classes | Functions | Variables
update_glslang_sources Namespace Reference

Classes

class  GoodCommit
 

Functions

def command_output (cmd, directory, fail_ok=False)
 
def command_retval (cmd, directory)
 
def GetGoodCommits (site)
 
def main ()
 

Variables

string KNOWN_GOOD_FILE = 'known_good.json'
 
dictionary SITE_TO_KNOWN_GOOD_FILE
 
dictionary SITE_TO_HOST
 
bool VERBOSE = True
 

Function Documentation

◆ command_output()

def update_glslang_sources.command_output (   cmd,
  directory,
  fail_ok = False 
)
Runs a command in a directory and returns its standard output stream.

Captures the standard error stream.

Raises a RuntimeError if the command fails to launch or otherwise fails.
Here is the caller graph for this function:

◆ command_retval()

def update_glslang_sources.command_retval (   cmd,
  directory 
)
Runs a command in a directory and returns its return value.

Captures the standard error stream.
Here is the caller graph for this function:

◆ GetGoodCommits()

def update_glslang_sources.GetGoodCommits (   site)
Returns the latest list of GoodCommit objects.
Here is the caller graph for this function:

◆ main()

def update_glslang_sources.main ( void  )
Here is the call graph for this function:

Variable Documentation

◆ KNOWN_GOOD_FILE

string update_glslang_sources.KNOWN_GOOD_FILE = 'known_good.json'

◆ SITE_TO_HOST

dictionary update_glslang_sources.SITE_TO_HOST
Initial value:
1 = { 'github' : 'https://github.com/',
2  'gitlab' : '[email protected]:' }

◆ SITE_TO_KNOWN_GOOD_FILE

dictionary update_glslang_sources.SITE_TO_KNOWN_GOOD_FILE
Initial value:
1 = { 'github' : 'known_good.json',
2  'gitlab' : 'known_good_khr.json' }

◆ VERBOSE

bool update_glslang_sources.VERBOSE = True