MCPcopy Create free account
hub / github.com/ampproject/amphtml / Main

Function Main

validator/js/webui/build.py:136–145  ·  view source on GitHub ↗

The main method, which executes all build steps and runs the tests.

()

Source from the content-addressed store, hash-verified

134
135
136def Main():
137 """The main method, which executes all build steps and runs the tests."""
138 logging.basicConfig(
139 format='[[%(filename)s %(funcName)s]] - %(message)s',
140 level=(logging.ERROR if os.environ.get('CI') else logging.INFO))
141 GetNodeJsCmd()
142 CheckPrereqs()
143 InstallNodeDependencies()
144 SetupOutDir(out_dir='dist')
145 CreateWebuiAppengineDist(out_dir='dist')
146
147
148if __name__ == '__main__':

Callers 1

build.pyFile · 0.70

Calls 6

GetNodeJsCmdFunction · 0.85
CreateWebuiAppengineDistFunction · 0.85
CheckPrereqsFunction · 0.70
InstallNodeDependenciesFunction · 0.70
SetupOutDirFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected