MCPcopy Create free account
hub / github.com/defold/defold / parse_lein_regexes

Function parse_lein_regexes

editor/scripts/bundle.py:375–380  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

373 raise Exception("Unable to parse Leiningen string from output:\n%s" % value)
374
375def parse_lein_regexes(value):
376 for line in value.splitlines():
377 regexes = re.findall(r'#"([^"]*)"', line)
378 if regexes:
379 return regexes
380 raise Exception("Unable to parse Leiningen regexes from output:\n%s" % value)
381
382def write_docs(docs_dir, jdk_path=None):
383 temp_dir = tempfile.mkdtemp()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected